diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-23 13:01:45 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-23 13:01:45 +0000 |
commit | 46ff969ca6e42e354c29328877810b0f7f373af0 (patch) | |
tree | b44280d8575ca4e2000c5e88360d3d872995799b /lib/System/Path.cpp | |
parent | 072a56e37de0e4872ce0340b0bd5585ba15fd0c3 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Path.cpp')
0 files changed, 0 insertions, 0 deletions