[llvm] [PowerPC] Mark llvm.tan on vectors as expand (PR #95507)

Qiu Chaofan via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 01:38:15 PDT 2024


================
@@ -860,6 +860,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM,
       setOperationAction(ISD::FEXP2, VT, Expand);
       setOperationAction(ISD::FSIN, VT, Expand);
       setOperationAction(ISD::FCOS, VT, Expand);
+      setOperationAction(ISD::FTAN, VT, Expand);
----------------
ecnelises wrote:

It's already been handled by common logic, and there's already been test for constrained tan in vector-constrained-fp-intrinsics.ll

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


More information about the llvm-commits mailing list