make sure bit_convert's are expanded
authorChris Lattner <sabre@nondot.org>
Fri, 23 Dec 2005 05:15:23 +0000 (05:15 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Dec 2005 05:15:23 +0000 (05:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24979 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 456a2541f8b5ffd4a732dffb9c7b3ae3bf0ad5f8..15410a56dfe7836ac5038ca767710967ae13798d 100644 (file)
@@ -80,6 +80,9 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
   setOperationAction(ISD::FP_TO_SINT       , MVT::i8   , Promote);
   setOperationAction(ISD::FP_TO_SINT       , MVT::i16  , Promote);
 
+  setOperationAction(ISD::BIT_CONVERT, MVT::f32, Expand);
+  setOperationAction(ISD::BIT_CONVERT, MVT::i32, Expand);
+
   if (X86DAGIsel) {
     setOperationAction(ISD::BRCOND         , MVT::Other, Custom);
   }