summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-06-16 06:40:59 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-06-16 06:40:59 +0000
commit48021d15d6b50376069f697c6266812244e788f3 (patch)
treea208767928bf6f095c816b7ca0e2c33aba411e88 /llvm/lib/Target/IA64/IA64ISelLowering.cpp
parente531f048f8b4da26c9a302697ec85d21deacc404 (diff)
downloadbcm5719-llvm-48021d15d6b50376069f697c6266812244e788f3.tar.gz
bcm5719-llvm-48021d15d6b50376069f697c6266812244e788f3.zip
Misc accumulated tweaks to legalization logic for various targets.
llvm-svn: 73476
Diffstat (limited to 'llvm/lib/Target/IA64/IA64ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/IA64/IA64ISelLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/IA64/IA64ISelLowering.cpp b/llvm/lib/Target/IA64/IA64ISelLowering.cpp
index 34a0686564c..c545b9c0eb1 100644
--- a/llvm/lib/Target/IA64/IA64ISelLowering.cpp
+++ b/llvm/lib/Target/IA64/IA64ISelLowering.cpp
@@ -107,6 +107,10 @@ IA64TargetLowering::IA64TargetLowering(TargetMachine &TM)
// VASTART needs to be custom lowered to use the VarArgsFrameIndex
setOperationAction(ISD::VAARG , MVT::Other, Custom);
setOperationAction(ISD::VASTART , MVT::Other, Custom);
+
+ // FIXME: These should be legal
+ setOperationAction(ISD::BIT_CONVERT, MVT::i64, Expand);
+ setOperationAction(ISD::BIT_CONVERT, MVT::f64, Expand);
// Use the default implementation.
setOperationAction(ISD::VACOPY , MVT::Other, Expand);
OpenPOWER on IntegriCloud