aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-03-04 18:54:14 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-03-04 18:54:14 +0000
commit5d6fb5db908c90fde727b6d07c4f0b8be7d91797 (patch)
treed3b312f4d7352b21a20ca0a0bd7455f16f84da03
parentf0cf2d357cf5540f21400e330028045e65e60835 (diff)
downloadexternal_llvm-5d6fb5db908c90fde727b6d07c4f0b8be7d91797.zip
external_llvm-5d6fb5db908c90fde727b6d07c4f0b8be7d91797.tar.gz
external_llvm-5d6fb5db908c90fde727b6d07c4f0b8be7d91797.tar.bz2
Expands FCOS and FSIN nodes when type is f64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127017 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp
index 1d7a1c0..a563d3c 100644
--- a/lib/Target/Mips/MipsISelLowering.cpp
+++ b/lib/Target/Mips/MipsISelLowering.cpp
@@ -129,7 +129,9 @@ MipsTargetLowering(MipsTargetMachine &TM)
setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);
setOperationAction(ISD::FCOPYSIGN, MVT::f64, 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);
setOperationAction(ISD::FPOWI, MVT::f32, Expand);
setOperationAction(ISD::FPOW, MVT::f32, Expand);
setOperationAction(ISD::FLOG, MVT::f32, Expand);