Mark the PPC CTRRC and CTRRC8 register classes as non-allocatable.
authorHal Finkel <hfinkel@anl.gov>
Fri, 8 Jun 2012 19:02:08 +0000 (19:02 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 8 Jun 2012 19:02:08 +0000 (19:02 +0000)
commit7e5631202ab5b5f2097d234d0357bc5b3b7f5530
treeff92714a35b30e0b6c830ef486df8162a165db8d
parent45d53b866e63dd4899c2ea691e3539da8dbb3909
Mark the PPC CTRRC and CTRRC8 register classes as non-allocatable.

Marking these classes as non-alocatable allows CTR loop generation to
work correctly with the block placement passes, etc. These register
classes are currently used only by some unused TCRETURN patterns.
In future cleanup, these will be removed.

Thanks again to Jakob for suggesting this fix to the CTR loop problem!

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