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

llvm-svn: 14581
This commit is contained in:
Misha Brukman 2004-07-02 17:54:38 +00:00
parent 0fdfcf147b
commit 4308baa0f1
1 changed files with 2 additions and 0 deletions

View File

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