[llvm] [InstCombine] Fold patterns which uses <2N x iM> type for comparisons on <N x i2M> vector types (PR #184328)
Fuad Ismail via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 19:27:42 PDT 2026
================
@@ -467,6 +484,10 @@ class LLVM_LIBRARY_VISIBILITY InstCombinerImpl final
return Sel;
}
+ Instruction *foldVni2mCmpEqUsingV2nim(Instruction &I);
+
+ Instruction *foldVni2mCmpGtUsingV2nim(Instruction &I);
----------------
fuad1502 wrote:
Addressed in https://github.com/llvm/llvm-project/pull/184328/commits/3391977d1059df4da47c14c4d64bb933f89bb342.
I use the name `foldVecCmpOnHalfElementSize`, what do you think?
https://github.com/llvm/llvm-project/pull/184328
More information about the llvm-commits
mailing list