[llvm] [AArch64] Combine signext_inreg of setcc(... != splat(0)) (PR #157665)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 9 08:06:15 PDT 2025


================
@@ -41,7 +40,6 @@ define void @test_masked_store_success_v4i32(<4 x i32> %x, ptr %ptr, <4 x i1> %m
 ; SVE-NEXT:    ptrue p0.s, vl4
 ; SVE-NEXT:    // kill: def $q0 killed $q0 def $z0
 ; SVE-NEXT:    shl v1.4s, v1.4s, #31
-; SVE-NEXT:    cmlt v1.4s, v1.4s, #0
----------------
david-arm wrote:

See comment above on how you can also kill off the shl.

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


More information about the llvm-commits mailing list