From 68a9b04e770c8d871bdc2163e7d53e0763e2d722 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 2 Jul 2004 17:54:38 +0000 Subject: [PATCH] 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 --- lib/Target/PowerPC/PowerPCRegisterInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/PowerPC/PowerPCRegisterInfo.cpp b/lib/Target/PowerPC/PowerPCRegisterInfo.cpp index ebf8ceb96c8..67759ef48bb 100644 --- a/lib/Target/PowerPC/PowerPCRegisterInfo.cpp +++ b/lib/Target/PowerPC/PowerPCRegisterInfo.cpp @@ -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 -- 2.34.1