mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-05 01:56:16 +00:00
Fix a typo in MachineInstr::unbundleFromSucc() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171983 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1db5de9e7
commit
12cd49ae1d
@ -897,7 +897,7 @@ void MachineInstr::unbundleFromSucc() {
|
||||
assert(isBundledWithSucc() && "MI isn't bundled with its successor");
|
||||
clearFlag(BundledSucc);
|
||||
MachineBasicBlock::instr_iterator Succ = this;
|
||||
--Succ;
|
||||
++Succ;
|
||||
assert(Succ->isBundledWithPred() && "Inconsistent bundle flags");
|
||||
Succ->clearFlag(BundledPred);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user