[llvm] [DAGCombiner] Limit EXTRACT(SETCC) combines in scalarizeExtractedBinOp to i1 types (PR #123071)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 19:41:11 PST 2025
================
@@ -141,6 +142,24 @@ for.cond.cleanup:
}
+define i32 @issue_121372(<4 x i32> %0) {
+; CHECK-LABEL: issue_121372:
+; CHECK: // %bb.0:
+; CHECK-NEXT: movi v1.2d, #0000000000000000
+; CHECK-NEXT: cmhs v0.4s, v1.4s, v0.4s
+; CHECK-NEXT: fmov w8, s0
+; CHECK-NEXT: cmp w8, #1
+; CHECK-NEXT: csetm w0, lt
+; CHECK-NEXT: ret
+ %2 = icmp ule <4 x i32> %0, zeroinitializer
----------------
arsenm wrote:
Use named values in tests
https://github.com/llvm/llvm-project/pull/123071
More information about the llvm-commits
mailing list