forked from OSchip/llvm-project
Add FIXME notes for spilling int/fp regs (need to calculate stack space).
llvm-svn: 14581
This commit is contained in:
parent
0fdfcf147b
commit
4308baa0f1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue