[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Dec 16 17:38:01 PST 2002
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.74 -> 1.75
---
Log message:
Build add instructions of the correct form!
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.74 llvm/lib/Target/X86/InstSelectSimple.cpp:1.75
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.74 Mon Dec 16 16:54:46 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Mon Dec 16 17:36:57 2002
@@ -599,7 +599,7 @@
// Adjust the stack by `bytesPushed' amount if non-zero
if (bytesPushed > 0)
- BuildMI (BB, X86::ADDri32, 2).addReg(X86::ESP).addZImm(bytesPushed);
+ BuildMI (BB, X86::ADDri32,2,X86::ESP).addReg(X86::ESP).addZImm(bytesPushed);
// If there is a return value, scavenge the result from the location the call
// leaves it in...
More information about the llvm-commits
mailing list