[llvm] [LLVM] Slay undead copysign code (PR #111269)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 20:02:10 PDT 2024


================
@@ -91,8 +92,9 @@ define ppc_fp128 @foo_ld(double %a, double %b) #0 {
 ; CHECK-VSX-NEXT:    fmr 0, 1
 ; CHECK-VSX-NEXT:    xscpsgndp 1, 2, 1
 ; CHECK-VSX-NEXT:    xxlxor 2, 2, 2
-; CHECK-VSX-NEXT:    xscmpudp 0, 0, 1
-; CHECK-VSX-NEXT:    beqlr 0
+; CHECK-VSX-NEXT:    fcmpu 0, 0, 1
+; CHECK-VSX-NEXT:    cror 20, 2, 3
+; CHECK-VSX-NEXT:    bclr 12, 20, 0
----------------
arsenm wrote:

Yes, but it doesn't really matter. I care about that < 2% of the time and have never looked at the GitHub version comparison 

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


More information about the llvm-commits mailing list