[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
Sun May 10 02:32:33 PDT 2026


================

----------------
fuad1502 wrote:

Previously I already tested one other vector size as well (v6i32/v3i64) in the “_generalized” function. 

Now, I’ve added more vector sizes to test (v6i32/v3i64, v8i32/v4i64, v2i32/v1i64, and v8i16/v4i32) and used more appropriate function names.

But I didn’t test all “alternate forms” and “wrong forms” with all vector sizes, since I think that would blow up the test size too much.. What do you think?

https://github.com/llvm/llvm-project/pull/184328


More information about the llvm-commits mailing list