diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-19 23:50:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-19 23:50:57 +0000 |
commit | f8cf35855a873f76619a84ec41a06169718d4394 (patch) | |
tree | 3dc973ccd81335e32e833f96880ba7aebb96525b /llvm/lib | |
parent | 7c06d44f4283444069a2461f18a83ef644d5bf5d (diff) | |
download | bcm5719-llvm-f8cf35855a873f76619a84ec41a06169718d4394.tar.gz bcm5719-llvm-f8cf35855a873f76619a84ec41a06169718d4394.zip |
While I'm at it, don't break codegen of mul by 3,5,9.
llvm-svn: 15013
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/InstSelectSimple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp index fc851324bf0..cb57c12889b 100644 --- a/llvm/lib/Target/X86/InstSelectSimple.cpp +++ b/llvm/lib/Target/X86/InstSelectSimple.cpp @@ -2352,7 +2352,7 @@ void ISel::doMultiplyConst(MachineBasicBlock *MBB, case 5: case 9: if (Class == cInt) { - addFullAddress(BuildMI(*MBB, IP, X86::LEA32r, 5, TmpReg), + addFullAddress(BuildMI(*MBB, IP, X86::LEA32r, 5, DestReg), op0Reg, ConstRHS-1, op0Reg, 0); return; } |