Fix CodeGen/Generic/bool-to-double.ll
authorChris Lattner <sabre@nondot.org>
Fri, 7 Oct 2005 04:50:48 +0000 (04:50 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Oct 2005 04:50:48 +0000 (04:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23652 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/IA64/IA64ISelPattern.cpp

index 04b331cff00009593cd4fda129938bd3864c419e..faeaaf2e375efaa12bccb5f4b43b499979d69e0d 100644 (file)
@@ -81,6 +81,9 @@ namespace {
       setOperationAction(ISD::MEMMOVE          , MVT::Other, Expand);
       setOperationAction(ISD::MEMSET           , MVT::Other, Expand);
       setOperationAction(ISD::MEMCPY           , MVT::Other, Expand);
+      
+      setOperationAction(ISD::SINT_TO_FP       , MVT::i1   , Promote);
+      setOperationAction(ISD::UINT_TO_FP       , MVT::i1   , Promote);
 
       // We don't support sin/cos/sqrt
       setOperationAction(ISD::FSIN , MVT::f64, Expand);