From cd9673e565b1e6152d067e15fda6275e4c7f3998 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 16 Jun 2007 06:17:31 +0000 Subject: [PATCH] Fix a failure to bit_convert from integer GPR to MMX register. llvm-svn: 37611 --- llvm/lib/Target/X86/X86ISelLowering.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index f8b6cea7c061..b9be10fb222c 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -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()) {