Fix a register-class comparison bug in PPCCTRLoops
authorHal Finkel <hfinkel@anl.gov>
Thu, 21 Mar 2013 23:23:34 +0000 (23:23 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 21 Mar 2013 23:23:34 +0000 (23:23 +0000)
commit3ea1b064a0b9c3d161b0f77a9e957970f98907ab
tree16053716b244cfe03039d14a5dcc129b26d3111d
parentbb4e619cd9ff34708e3baaf0aac70275a917e0ba
Fix a register-class comparison bug in PPCCTRLoops

Thanks to Jakob for isolating the underlying problem from the
test case in r177423. The original commit had introduced
asymmetric copy operations, but these turned out to be a work-around
to the real problem (the use of == instead of hasSubClassEq in PPCCTRLoops).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCCTRLoops.cpp
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.cpp
test/CodeGen/PowerPC/asym-regclass-copy.ll