[llvm] [KnownBits] Make nuw and nsw support in computeForAddSub optimal (PR #83382)
    Jay Foad via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Mar  1 02:51:28 PST 2024
    
    
  
================
@@ -114,9 +114,12 @@ define i1 @foo_last(<vscale x 4 x float> %a, <vscale x 4 x float> %b) {
 ; CHECK-LABEL: foo_last:
 ; CHECK:       // %bb.0:
 ; CHECK-NEXT:    ptrue p0.s
-; CHECK-NEXT:    fcmeq p1.s, p0/z, z0.s, z1.s
-; CHECK-NEXT:    ptest p0, p1.b
-; CHECK-NEXT:    cset w0, lo
+; CHECK-NEXT:    mov x8, #-1 // =0xffffffffffffffff
----------------
jayfoad wrote:
I don't speak AArch64 but this looks like an unfortunate regression, at least in terms of number of instructions.
https://github.com/llvm/llvm-project/pull/83382
    
    
More information about the llvm-commits
mailing list