Fix a typo in MachineInstr::unbundleFromSucc() method.
llvm-svn: 171983
This commit is contained in:
parent
5a6a020d9b
commit
3b46d7ea26
|
@ -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…
Reference in New Issue