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)
commit0f77861d9f25c8d5212a2cee7729a6c6e448864d
tree5ca2d97841cfd647adf47e7e09e1b783df1ee7b9
parent953c701b8b96aad1078cee68df377f47ebfb61d5
Allocate r0 on PPC

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

llvm-svn: 178123
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/test/CodeGen/PowerPC/allocate-r0.ll [new file with mode: 0644]