[llvm] [SDAG] SetCC: remove spurious extensions (PR #173110)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 4 04:48:39 PST 2026


================
@@ -234,3 +234,31 @@ define <1 x i64> @cmnez_d(<1 x i64> %A) nounwind {
   %mask = sext <1 x i1> %tst to <1 x i64>
   ret <1 x i64> %mask
 }
+
+; Check for the elimination of spurious type extensions
+define <16 x i1> @abdu_cmp(<16 x i8> %a, <16 x i8> %b, <16 x i8> %g) {
----------------
RKSimon wrote:

can you add some tests with a mixture of types? maybe use <16 x i16> for some extension?

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


More information about the llvm-commits mailing list