[llvm] [DAGCombiner] Fix scalarizeExtractedBinOp for some SETCC cases (PR #123071)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 16 05:37:35 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
----------------
david-arm wrote:
Done
https://github.com/llvm/llvm-project/pull/123071
More information about the llvm-commits
mailing list