This is the initial check-in for adding register scavenging to PPC. (Currently,
authorBill Wendling <isanbard@gmail.com>
Mon, 3 Mar 2008 22:19:16 +0000 (22:19 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 3 Mar 2008 22:19:16 +0000 (22:19 +0000)
commit7194aaf738a1b89441635340403f1c5b06ae18ef
tree3e494b97a01adb719cb3d43e00444c4adf625a69
parent4a23d72ec21d1bdfda69fd16c9fc10cec39f1fed
This is the initial check-in for adding register scavenging to PPC. (Currently,
PPC-64 doesn't work.) This also lowers the spilling of the CR registers so that
it uses a register other than the default R0 register (the scavenger scrounges
for one). A significant part of this patch fixes how kill information is
handled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47863 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/RegisterScavenging.h
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCMachineFunctionInfo.h
lib/Target/PowerPC/PPCRegisterInfo.cpp
lib/Target/PowerPC/PPCRegisterInfo.h
test/CodeGen/PowerPC/Frames-alloca.ll