[PowerPC] Add a full condition code register to make the "cc" clobber work
authorHal Finkel <hfinkel@anl.gov>
Fri, 4 Apr 2014 15:15:57 +0000 (15:15 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 4 Apr 2014 15:15:57 +0000 (15:15 +0000)
commitfbf7e2a1a11e92b803948cc318e342a84ac02a97
treeef0776ff4e7fd754c15797d042027e88003aa36a
parent7605072e61e159b50f5642ec8369aa8412163682
[PowerPC] Add a full condition code register to make the "cc" clobber work

gcc inline asm supports specifying "cc" as a clobber of all condition
registers. Add just enough modeling of the full register to make this work.
Fixed PR19326.

llvm-svn: 205630
llvm/lib/Target/PowerPC/PPCRegisterInfo.td
llvm/test/CodeGen/PowerPC/cc.ll [new file with mode: 0644]