[llvm-commits] CVS: llvm/lib/Target/IA64/IA64RegisterInfo.cpp

Evan Cheng evan.cheng at apple.com
Tue Jan 23 01:38:10 PST 2007



Changes in directory llvm/lib/Target/IA64:

IA64RegisterInfo.cpp updated: 1.27 -> 1.28
---
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 -7)

 IA64RegisterInfo.cpp |    7 -------
 1 files changed, 7 deletions(-)


Index: llvm/lib/Target/IA64/IA64RegisterInfo.cpp
diff -u llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.27 llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.28
--- llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.27	Mon Jan 22 18:53:41 2007
+++ llvm/lib/Target/IA64/IA64RegisterInfo.cpp	Tue Jan 23 03:37:54 2007
@@ -256,13 +256,6 @@
   // Get the number of bytes to allocate from the FrameInfo
   unsigned 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.
-    NumBytes += MFI->getMaxCallFrameSize();
-  }
-
   if(FP)
     NumBytes += 8; // reserve space for the old FP
 






More information about the llvm-commits mailing list