mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
RescheduleKillAboveMI() must backtrack to before the rescheduled DBG_VALUE instructions. rdar://10451185
llvm-svn: 144771
This commit is contained in:
parent
d756c3ec65
commit
27c17a65d1
@ -1158,7 +1158,7 @@ TwoAddressInstructionPass::RescheduleKillAboveMI(MachineBasicBlock *MBB,
|
||||
--From;
|
||||
MBB->splice(InsertPos, MBB, From, To);
|
||||
|
||||
nmi = llvm::prior(mi); // Backtrack so we process the moved instruction.
|
||||
nmi = llvm::prior(InsertPos); // Backtrack so we process the moved instr.
|
||||
DistanceMap.erase(DI);
|
||||
|
||||
if (LV) {
|
||||
|
Loading…
Reference in New Issue
Block a user