mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-10 13:48:44 +00:00
RescheduleKillAboveMI() must backtrack to before the rescheduled DBG_VALUE instructions. rdar://10451185
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144771 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user