summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-05 16:46:10 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-05 17:08:08 +0000
commit76166a1ac7140bb1b577f198c95cb7e9dd67a10b (patch)
tree6600fb3e51d9c832d139597cf11df0b8b278f019 /llvm/lib/CodeGen/MachineOutliner.cpp
parent7ad258361357e4b49c33ff39ce8abdcdf747c702 (diff)
downloadbcm5719-llvm-76166a1ac7140bb1b577f198c95cb7e9dd67a10b.tar.gz
bcm5719-llvm-76166a1ac7140bb1b577f198c95cb7e9dd67a10b.zip
Use iterator prefix increment. NFCI.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOutliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineOutliner.cpp b/llvm/lib/CodeGen/MachineOutliner.cpp
index 9c61bcee35c..46e6e7516dd 100644
--- a/llvm/lib/CodeGen/MachineOutliner.cpp
+++ b/llvm/lib/CodeGen/MachineOutliner.cpp
@@ -763,7 +763,7 @@ struct InstructionMapper {
std::vector<unsigned> UnsignedVecForMBB;
std::vector<MachineBasicBlock::iterator> InstrListForMBB;
- for (MachineBasicBlock::iterator Et = MBB.end(); It != Et; It++) {
+ for (MachineBasicBlock::iterator Et = MBB.end(); It != Et; ++It) {
// Keep track of where this instruction is in the module.
switch (TII.getOutliningType(It, Flags)) {
case InstrType::Illegal:
OpenPOWER on IntegriCloud