Misc accumulated tweaks to legalization logic for various targets.
[oota-llvm.git] / lib / Target / IA64 / IA64ISelLowering.cpp
index 34a0686564c07c8f1314ff9d8cdabb89aa745867..c545b9c0eb1f0f72f6abb65978bff8af529dc420 100644 (file)
@@ -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);