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 | d7416e7c0b1b6794a316256f81e41e53aeef7420 (patch) | |
| tree | 68733063ddc6a1d541e7be6ec3fb178e4ece2dac /llvm/lib/Target | |
| parent | 77928399b08c4355d46e83f6583803a854baee65 (diff) | |
| download | bcm5719-llvm-d7416e7c0b1b6794a316256f81e41e53aeef7420.tar.gz bcm5719-llvm-d7416e7c0b1b6794a316256f81e41e53aeef7420.zip | |
We don't have native sine / cosine instructions
llvm-svn: 76021
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index e929aa1c941..be76dc50c31 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/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) { |

