summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/private.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-23 13:01:45 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-23 13:01:45 +0000
commit972c8fab51821c7a0a65f5c09d06d50951b73976 (patch)
tree0470ce991fd07bb955bddabe9a32aeec605ba96c /llvm/test/CodeGen/PowerPC/private.ll
parent89b422c11801ea7e793c39fb7316a2890c198dc7 (diff)
downloadbcm5719-llvm-972c8fab51821c7a0a65f5c09d06d50951b73976.tar.gz
bcm5719-llvm-972c8fab51821c7a0a65f5c09d06d50951b73976.zip
Fix PR4753.
When undoing a reuse in ReuseInfo::GetRegForReload, check if it was only a sub-register being used. The MachineOperand::getSubReg() method is only valid for virtual registers, so we have to recover the sub-register index manually. llvm-svn: 79855
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/private.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud