mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-01 16:22:41 +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…
x
Reference in New Issue
Block a user