summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-01-04 14:01:38 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-01-04 14:01:38 +0000
commit7284073ec24f2561a733d4c97334df609f85c04e (patch)
tree08f3c5f049d71b0de865784056ff0a25f9531924 /llvm
parent4d95e91ecaa48544c746c4a05d06c0f57a0a9dc7 (diff)
downloadbcm5719-llvm-7284073ec24f2561a733d4c97334df609f85c04e.tar.gz
bcm5719-llvm-7284073ec24f2561a733d4c97334df609f85c04e.zip
Expand SELECT (f32/f64) and FCOPYSIGN (f32/f64).
llvm-svn: 32870
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
index cf8386ce517..ef28a90004d 100644
--- a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
@@ -67,6 +67,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1 , Expand);
setOperationAction(ISD::SELECT, MVT::i32, Expand);
+ setOperationAction(ISD::SELECT, MVT::f32, Expand);
+ setOperationAction(ISD::SELECT, MVT::f64, Expand);
setOperationAction(ISD::SETCC, MVT::i32, Expand);
setOperationAction(ISD::SETCC, MVT::f32, Expand);
@@ -104,6 +106,9 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
setOperationAction(ISD::ConstantFP, MVT::f32, Expand);
+ setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);
+ setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);
+
setStackPointerRegisterToSaveRestore(ARM::R13);
setSchedulingPreference(SchedulingForRegPressure);
OpenPOWER on IntegriCloud