Rework PPC64 calls. Now we have a LR8/CTR8 register which the PPC64 calls
authorChris Lattner <sabre@nondot.org>
Tue, 14 Nov 2006 18:44:47 +0000 (18:44 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 Nov 2006 18:44:47 +0000 (18:44 +0000)
commit6a5339ba656805a9cd3bf7d884f99bb87ec84e98
tree9a385327f69b24dfe893c74fab094c6eefe78da3
parentd10434215da983b58389d2a0880dfcd2cd3b7f35
Rework PPC64 calls.  Now we have a LR8/CTR8 register which the PPC64 calls
clobber.  This allows LR8 to be save/restored correctly as a 64-bit quantity,
instead of handling it as a 32-bit quantity.  This unbreaks ppc64 codegen when
the code is actually located above the 4G boundary.

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