forked from OSchip/llvm-project
[NFC][CodeGen] Modify the PI++ to ++PI in MachineBlockPlacement::optimizeBranches()
llvm-svn: 368514
This commit is contained in:
parent
8a25eabd42
commit
555f7495df
|
@ -2790,7 +2790,7 @@ void MachineBlockPlacement::optimizeBranches() {
|
|||
|
||||
// Update the CFG.
|
||||
for (MachineBasicBlock::pred_iterator PI = TBB->pred_begin(),
|
||||
PE = TBB->pred_end(); PI != PE; PI++)
|
||||
PE = TBB->pred_end(); PI != PE; ++PI)
|
||||
(*PI)->ReplaceUsesOfBlockWith(TBB, ChainBB);
|
||||
|
||||
for (MachineBasicBlock *Succ : TBB->successors())
|
||||
|
|
Loading…
Reference in New Issue