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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 03:59:05 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
----------------
RKSimon wrote:

@workingjubilee please can you rebase after 32aa782ea297b3e0ec090cf8fc0055d00c99d24b to more clearly see the diff?

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


More information about the llvm-commits mailing list