Allocate r0 on PPC
authorHal Finkel <hfinkel@anl.gov>
Wed, 27 Mar 2013 06:52:27 +0000 (06:52 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 27 Mar 2013 06:52:27 +0000 (06:52 +0000)
commit240b7f3324da70937d4fe6d0bd7278ae82849114
tree27ddd1a75efe424f797908f9e7b76d3a48101f31
parent6375e1b87b089093fecdb09f609251e91d1c2c4f
Allocate r0 on PPC

The R0 register can now be allocated because instructions
that cannot use R0 as a GPR have been appropriately marked.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178123 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.cpp
test/CodeGen/PowerPC/allocate-r0.ll [new file with mode: 0644]