restore some non-dead code I removed last night breaking double casts to
authorChris Lattner <sabre@nondot.org>
Mon, 9 May 2005 18:37:02 +0000 (18:37 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 May 2005 18:37:02 +0000 (18:37 +0000)
uint

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21821 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelPattern.cpp

index 600e06895b44fb0d9a7b4650280c603e90ecae0a..d4b2b1a99e8f828ecdd7fe0d45796eef76147570 100644 (file)
@@ -1685,7 +1685,9 @@ unsigned ISel::SelectExpr(SDOperand N) {
     case MVT::i32:
       addFrameReference(BuildMI(BB, X86::FIST32m, 5), FrameIdx).addReg(Tmp1);
       break;
-    }
+    case MVT::i64:
+      addFrameReference(BuildMI(BB, X86::FISTP64m, 5), FrameIdx).addReg(Tmp1);
+      break;    }
 
     switch (Node->getValueType(0)) {
     default: