Fix frame pointer handling:
authorNate Begeman <natebegeman@mac.com>
Mon, 16 Aug 2004 01:52:12 +0000 (01:52 +0000)
committerNate Begeman <natebegeman@mac.com>
Mon, 16 Aug 2004 01:52:12 +0000 (01:52 +0000)
commit1cffdf0798eb2bb495bc234b27f9455dbb476d02
treed76d41c671334ac801b0ffb29d4b937bec99094e
parent865075ed350ec6cee8ccd6723362dc5aa3823b25
Fix frame pointer handling:
Reserve R0 in store/load from stack slot for building >32k offsets from SP
or FP.  This also requires we use R11 rather than R0 for holding the LR
value we want to save or restore.  Also, tell the register allocator not
to use R31 (our FP) in functions that have a frame pointer.  These changes
fix Burg.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.td
lib/Target/PowerPC/PowerPCRegisterInfo.cpp