[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)
commitb12c642bbff0b47337d3524d6f09d5e0eb44788c
tree6d4a5346e03cb66fa9ac6c8f59b3be6306ba0714
parentdc404fff1299b317741836479d59f8971dd38ccf
[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.

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