Add FIXME notes for spilling int/fp regs (need to calculate stack space).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-07-02 17:54:38 +00:00
parent 0d4b67c67f
commit 68a9b04e77

View File

@ -197,7 +197,9 @@ void PowerPCRegisterInfo::emitPrologue(MachineFunction &MF) const {
//
NumBytes += MFI->getMaxCallFrameSize() +
24 /* Predefined PowerPC link area */ +
// FIXME: must calculate #int regs actually spilled
12*4 /* Spilled int regs */ +
// FIXME: must calculate #fp regs actually spilled
0*8 /* Spilled fp regs */;
// Round the size to a multiple of the alignment (don't forget the 4 byte