aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/IA64
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
commit6314ac2bca0dfad6951931862b75a4586c9c8249 (patch)
tree6346b75ca42ff5be8184024e1ee81d459a47bbd0 /lib/Target/IA64
parentb42e20be77e2103c76373b4c6efa0cf8fed69025 (diff)
Misc accumulated tweaks to legalization logic for various targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/IA64')
-rw-r--r--lib/Target/IA64/IA64ISelLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp
index 34a0686564..c545b9c0eb 100644
--- a/lib/Target/IA64/IA64ISelLowering.cpp
+++ b/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);