Implement floating point constants
[oota-llvm.git] / lib / Target / ARM / ARMISelDAGToDAG.cpp
index e4b591d675230e0af04e5e100b5bdfb91c5bff03..2adf4073ba02134c039c1a1773e622b018f3a892 100644 (file)
@@ -61,6 +61,9 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
   setOperationAction(ISD::VASTART,       MVT::Other, Custom);
   setOperationAction(ISD::VAEND,         MVT::Other, Expand);
 
+  setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
+  setOperationAction(ISD::ConstantFP, MVT::f32, Expand);
+
   setSchedulingPreference(SchedulingForRegPressure);
   computeRegisterProperties();
 }