aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-17 22:33:26 +0000
committerChris Lattner <sabre@nondot.org>2002-11-17 22:33:26 +0000
commit71e83caecd0ea8cd0dea214e0d2091709aabf665 (patch)
treedb2e66363ff685412e929c78852610f7d1c6ff3a
parent2752d0aac84b398183fc5f4cc63152545c0fddb5 (diff)
downloadexternal_llvm-71e83caecd0ea8cd0dea214e0d2091709aabf665.zip
external_llvm-71e83caecd0ea8cd0dea214e0d2091709aabf665.tar.gz
external_llvm-71e83caecd0ea8cd0dea214e0d2091709aabf665.tar.bz2
Fix minor detail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4725 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/InstSelectSimple.cpp2
-rw-r--r--lib/Target/X86/X86ISelSimple.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp
index d9f5c4f..d74bfd4 100644
--- a/lib/Target/X86/InstSelectSimple.cpp
+++ b/lib/Target/X86/InstSelectSimple.cpp
@@ -451,7 +451,7 @@ void ISel::visitMul(BinaryOperator &I) {
BuildMI(BB, MovOpcode[Class], 1, Reg).addReg(Op0Reg);
// Emit the appropriate multiply instruction...
- BuildMI(BB, MulOpcode[Class], 4)
+ BuildMI(BB, MulOpcode[Class], 3)
.addReg(Reg, UseAndDef).addReg(Op1Reg).addClobber(Clobber);
// Put the result into the destination register...
diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp
index d9f5c4f..d74bfd4 100644
--- a/lib/Target/X86/X86ISelSimple.cpp
+++ b/lib/Target/X86/X86ISelSimple.cpp
@@ -451,7 +451,7 @@ void ISel::visitMul(BinaryOperator &I) {
BuildMI(BB, MovOpcode[Class], 1, Reg).addReg(Op0Reg);
// Emit the appropriate multiply instruction...
- BuildMI(BB, MulOpcode[Class], 4)
+ BuildMI(BB, MulOpcode[Class], 3)
.addReg(Reg, UseAndDef).addReg(Op1Reg).addClobber(Clobber);
// Put the result into the destination register...