Add FIXME notes for spilling int/fp regs (need to calculate stack space).
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 2 Jul 2004 17:54:38 +0000 (17:54 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 2 Jul 2004 17:54:38 +0000 (17:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14581 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PowerPCRegisterInfo.cpp

index ebf8ceb96c89ec3ef3dddf791ee94bfebdec90e7..67759ef48bb6d54673cfbbf3bb7c399e0b9449bb 100644 (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