[all-commits] [llvm/llvm-project] 24d06f: [x86] add test for pcmpeq with 0; NFC
RotateRight via All-commits
all-commits at lists.llvm.org
Wed May 12 05:25:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 24d06fff55510780eba1a267d844ee26a17d6888
https://github.com/llvm/llvm-project/commit/24d06fff55510780eba1a267d844ee26a17d6888
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M llvm/test/CodeGen/X86/setcc-lowering.ll
Log Message:
-----------
[x86] add test for pcmpeq with 0; NFC
Commit: f58e0513dd95944b81ce7a6e7b49ba656de7d75f
https://github.com/llvm/llvm-project/commit/f58e0513dd95944b81ce7a6e7b49ba656de7d75f
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/setcc-lowering.ll
M llvm/test/CodeGen/X86/vec_umulo.ll
M llvm/test/CodeGen/X86/vsel-cmp-load.ll
Log Message:
-----------
[x86] try harder to lower to PCMPGT instead of not-of-PCMPEQ
This is motivated by the example in https://llvm.org/PR50055 ,
but it doesn't do anything for that bug currently because we
don't actually have a zero-extended setcc there.
Proof for the generic transform (inverse of what we would
try to do in combining):
https://alive2.llvm.org/ce/z/aBL-Mg
Differential Revision: https://reviews.llvm.org/D102275
Compare: https://github.com/llvm/llvm-project/compare/4c59ab34f7bd...f58e0513dd95
More information about the All-commits
mailing list