summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-04-02 15:51:03 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-04-02 15:51:03 +0000
commit5fc4772d5eeacf59bdbae1d1092bc4f395258a23 (patch)
treeaf62f7ac953d5b959fa4da44017d9a834e569f08
parenta45a216ff675433a3580abdff4bd5d64abc3cb1b (diff)
downloadbcm5719-llvm-5fc4772d5eeacf59bdbae1d1092bc4f395258a23.tar.gz
bcm5719-llvm-5fc4772d5eeacf59bdbae1d1092bc4f395258a23.zip
Fix type in instruction builder instantiation
llvm-svn: 12610
-rw-r--r--llvm/lib/Target/X86/InstSelectSimple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index 8d1b57d681d..79181ecaa40 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/lib/Target/X86/InstSelectSimple.cpp
@@ -1737,7 +1737,7 @@ void ISel::emitSimpleBinaryOperation(MachineBasicBlock *MBB,
uint64_t Op1v = cast<ConstantInt>(Op1C)->getRawValue();
- BuildMI(*MBB, IP, Opcode, 5, DestReg).addReg(Op0r).addImm(Op1v);
+ BuildMI(*MBB, IP, Opcode, 2, DestReg).addReg(Op0r).addImm(Op1v);
return;
}
OpenPOWER on IntegriCloud