[NFC][CodeGen] Modify the PI++ to ++PI in MachineBlockPlacement::optimizeBranches()

llvm-svn: 368514
This commit is contained in:
Kang Zhang 2019-08-10 16:23:17 +00:00
parent 8a25eabd42
commit 555f7495df
1 changed files with 1 additions and 1 deletions

View File

@ -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())