[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp

Evan Cheng evan.cheng at apple.com
Tue Jan 23 01:37:54 PST 2007



Changes in directory llvm/lib/Target/Alpha:

AlphaRegisterInfo.cpp updated: 1.56 -> 1.57
---
Log message:

PEI is now responsible for adding MaxCallFrameSize to frame size and align the stack. Each target can further adjust the frame size if necessary.

---
Diffs of the changes:  (+0 -10)

 AlphaRegisterInfo.cpp |   10 ----------
 1 files changed, 10 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff -u llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.56 llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.57
--- llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.56	Mon Jan 22 18:53:13 2007
+++ llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp	Tue Jan 23 03:37:38 2007
@@ -302,16 +302,6 @@
   // Get the number of bytes to allocate from the FrameInfo
   long NumBytes = MFI->getStackSize();
 
-  if (MFI->hasCalls() && !FP) {
-    // We reserve argument space for call sites in the function immediately on
-    // entry to the current function.  This eliminates the need for add/sub
-    // brackets around call sites.
-    //If there is a frame pointer, then we don't do this
-    NumBytes += MFI->getMaxCallFrameSize();
-    DOUT << "Added " << MFI->getMaxCallFrameSize()
-         << " to the stack due to calls\n";
-  }
-
   if (FP)
     NumBytes += 8; //reserve space for the old FP
 






More information about the llvm-commits mailing list