Changes in directory llvm/lib/Target/ARM:
ARMRegisterInfo.cpp updated: 1.39 -> 1.40 --- 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 -15) ARMRegisterInfo.cpp | 15 --------------- 1 files changed, 15 deletions(-) Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp diff -u llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.39 llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.40 --- llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.39 Mon Jan 22 18:52:44 2007 +++ llvm/lib/Target/ARM/ARMRegisterInfo.cpp Tue Jan 23 03:37:21 2007 @@ -915,21 +915,6 @@ } } - // If necessary, add one more SUBri to account for the call frame - // and/or local storage, alloca area. - if (MFI->hasCalls() || MF.getFrameInfo()->hasVarSizedObjects()) { - // 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 (!hasFP(MF)) - NumBytes += MFI->getMaxCallFrameSize(); - - // Round the size to a multiple of the alignment. - NumBytes = (NumBytes+Align-1)/Align*Align; - } - - MFI->setStackSize(NumBytes); - // Determine starting offsets of spill areas. if (AFI->hasStackFrame()) { unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits