summaryrefslogtreecommitdiffstats
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
commit22b69db8dddde3d5c22b4e70b69f0fc22e3323c2 (patch)
tree3d92f3ea095031be1ebf83991bbde07e0f675280
parent23648d7e3bc905026602c616b2699aae9d1ce3f8 (diff)
downloadbcm5719-llvm-22b69db8dddde3d5c22b4e70b69f0fc22e3323c2.tar.gz
bcm5719-llvm-22b69db8dddde3d5c22b4e70b69f0fc22e3323c2.zip
Expands FCOS and FSIN nodes when type is f64.
llvm-svn: 127017
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index 1d7a1c0ae8c..a563d3cbd2c 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud