Fix a failure to bit_convert from integer GPR to MMX register.
authorBill Wendling <isanbard@gmail.com>
Sat, 16 Jun 2007 06:17:31 +0000 (06:17 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 16 Jun 2007 06:17:31 +0000 (06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37611 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index f8b6cea7c061c7b9898daccc0498338305f1b54a..b9be10fb222c4ea82423c8a2f98e163ed8cd26de 100644 (file)
@@ -394,6 +394,8 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
     setOperationAction(ISD::SCALAR_TO_VECTOR,   MVT::v4i16, Custom);
     setOperationAction(ISD::SCALAR_TO_VECTOR,   MVT::v2i32, Custom);
     setOperationAction(ISD::SCALAR_TO_VECTOR,   MVT::v1i64, Custom);
+
+    setOperationAction(ISD::BIT_CONVERT,        MVT::i64,   Expand);
   }
 
   if (Subtarget->hasSSE1()) {