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

Qiu Chaofan via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 00:42:21 PST 2023


================
@@ -1176,6 +1176,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM,
       setTruncStoreAction(MVT::f128, MVT::f32, Expand);
 
       // No implementation for these ops for PowerPC.
+      setOperationAction(ISD::FSINCOS, MVT::f128, Expand);
----------------
ecnelises wrote:

Yes, according to https://en.cppreference.com/w/c/numeric/math and nodes defined in ISDOpcodes.h. (they were already tested in f128-arith/round/fma.ll)

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


More information about the llvm-commits mailing list