Expand 32-bit bitconverts via memory
[oota-llvm.git] / lib / Target / SystemZ / SystemZISelLowering.cpp
index 162f960f8526efc111bcbc1523b8ec7b620fef8d..239a179e02edf78daa1564f1a9e297a07856f3bc 100644 (file)
@@ -130,8 +130,8 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
   setOperationAction(ISD::FCOS,             MVT::f64, Expand);
 
   // We have only 64-bit bitconverts
-  setOperationAction(ISD::BIT_CONVERT,      MVT::f32, Promote);
-  setOperationAction(ISD::BIT_CONVERT,      MVT::i32, Promote);
+  setOperationAction(ISD::BIT_CONVERT,      MVT::f32, Expand);
+  setOperationAction(ISD::BIT_CONVERT,      MVT::i32, Expand);
 
   setOperationAction(ISD::UINT_TO_FP,       MVT::i32, Expand);
   setOperationAction(ISD::UINT_TO_FP,       MVT::i64, Expand);