From: Chris Lattner Date: Fri, 23 Dec 2005 05:15:23 +0000 (+0000) Subject: make sure bit_convert's are expanded X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=21f66859e4338c40d29cf54123bab7bfa0a182d0;p=oota-llvm.git make sure bit_convert's are expanded git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24979 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 456a2541f8b..15410a56dfe 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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); }