[llvm] [PowerPC] Expand FSINCOS of fp128 (PR #76494)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 00:37:53 PST 2023


================
@@ -419,6 +419,66 @@ entry:
 }
 declare fp128 @llvm.cos.f128(fp128 %Val)
 
+define fp128 @qp_sincos(ptr nocapture readonly %a) {
+; CHECK-LABEL: qp_sincos:
+; CHECK:       # %bb.0: # %entry
+; CHECK-NEXT:    mflr r0
+; CHECK-NEXT:    stdu r1, -64(r1)
+; CHECK-NEXT:    std r0, 80(r1)
+; CHECK-NEXT:    .cfi_def_cfa_offset 64
----------------
chenzheng1030 wrote:

nit: remove these unnecessary cfi pseudo instructions.

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


More information about the llvm-commits mailing list