mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Apply the patch requested in PR3846.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67364 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc65ca8de5
commit
8fc2d0ee8d
@ -574,7 +574,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (DoIncr) ++I;
|
||||
if (DoIncr && I != BB->end()) ++I;
|
||||
|
||||
// Update register states.
|
||||
if (RS && MI) RS->forward(MI);
|
||||
|
Loading…
Reference in New Issue
Block a user