[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Jul 19 16:51:07 PDT 2004



Changes in directory llvm/lib/Target/X86:

InstSelectSimple.cpp updated: 1.273 -> 1.274

---
Log message:

While I'm at it, don't break codegen of mul by 3,5,9.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.273 llvm/lib/Target/X86/InstSelectSimple.cpp:1.274
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.273	Mon Jul 19 18:47:21 2004
+++ llvm/lib/Target/X86/InstSelectSimple.cpp	Mon Jul 19 18:50:57 2004
@@ -2352,7 +2352,7 @@
   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;
     }





More information about the llvm-commits mailing list