[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 23 22:14:56 PST 2006
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.53 -> 1.54
---
Log message:
use ESP directly, not a copy of ESP into some other register for fastcc calls
---
Diffs of the changes: (+1 -2)
X86ISelLowering.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.53 llvm/lib/Target/X86/X86ISelLowering.cpp:1.54
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.53 Mon Jan 23 23:17:12 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Tue Jan 24 00:14:44 2006
@@ -923,8 +923,7 @@
// Arguments go on the stack in reverse order, as specified by the ABI.
unsigned ArgOffset = 0;
- SDOperand StackPtr = DAG.getCopyFromReg(DAG.getEntryNode(),
- X86::ESP, MVT::i32);
+ SDOperand StackPtr = DAG.getRegister(X86::ESP, MVT::i32);
NumIntRegs = 0;
std::vector<SDOperand> Stores;
std::vector<SDOperand> RegValuesToPass;
More information about the llvm-commits
mailing list