CodeGen: extend f16 conversions to permit types > float.
[oota-llvm.git] / lib / Target / ARM / ARMISelLowering.cpp
index 4bfa5a8b5c625312d7b1dba78bf5de57f82ce764..e74d0540eb0f67e321df13ab6e894008006d1c79 100644 (file)
@@ -827,8 +827,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
     }
     // Special handling for half-precision FP.
     if (!Subtarget->hasFP16()) {
-      setOperationAction(ISD::FP16_TO_FP32, MVT::f32, Expand);
-      setOperationAction(ISD::FP32_TO_FP16, MVT::i32, Expand);
+      setOperationAction(ISD::FP16_TO_FP, MVT::f32, Expand);
+      setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand);
     }
   }