summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-23 05:15:23 +0000
committerChris Lattner <sabre@nondot.org>2005-12-23 05:15:23 +0000
commit30107e65c827534afc316e97234410c2074eb673 (patch)
tree498d081b9e79b0d062d8cafd943b7d87e2bc5e6f /llvm/lib
parentc46fc2482ce6b6a998577cc6dec3c9f5c7bce25d (diff)
downloadbcm5719-llvm-30107e65c827534afc316e97234410c2074eb673.tar.gz
bcm5719-llvm-30107e65c827534afc316e97234410c2074eb673.zip
make sure bit_convert's are expanded
llvm-svn: 24979
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 456a2541f8b..15410a56dfe 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud