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

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 07:02:59 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
 }
+
----------------
DaKnig wrote:

will do. these were added because max/min produce z/sext sometimes, which shows an example of the pattern appearing as part of lowering (thus not solvable in midend/instcombine)

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


More information about the llvm-commits mailing list