diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:20:56 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:20:56 +0000 |
commit | 9b4ae577ce292e9bca419cc90120d4df0a861589 (patch) | |
tree | a1bf07a471ef401f3810bbfad4ea95e4c3b322ac /lib/Target/SystemZ/SystemZISelLowering.cpp | |
parent | 1d0ec0b4fc948f437b3ffbbf4b7c47ca5cd971fd (diff) | |
download | llvm-9b4ae577ce292e9bca419cc90120d4df0a861589.tar.gz llvm-9b4ae577ce292e9bca419cc90120d4df0a861589.tar.bz2 llvm-9b4ae577ce292e9bca419cc90120d4df0a861589.tar.xz |
We don't have native sine / cosine instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZISelLowering.cpp')
-rw-r--r-- | lib/Target/SystemZ/SystemZISelLowering.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZISelLowering.cpp b/lib/Target/SystemZ/SystemZISelLowering.cpp index e929aa1c94..be76dc50c3 100644 --- a/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -112,6 +112,11 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) : // unsigned. setOperationAction(ISD::MULHS, MVT::i64, Expand); setOperationAction(ISD::SMUL_LOHI, MVT::i64, Expand); + + setOperationAction(ISD::FSIN, MVT::f32, Expand); + setOperationAction(ISD::FSIN, MVT::f64, Expand); + setOperationAction(ISD::FCOS, MVT::f32, Expand); + setOperationAction(ISD::FCOS, MVT::f64, Expand); } SDValue SystemZTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) { |