summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-19 23:25:57 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-19 23:25:57 +0000
commit9f9559e807339ef728e372ddd358f3508bf15fce (patch)
tree81c54a74ed5efe5317b924608007ffabbebbbcc6 /llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
parent6372a0bd51aca8762014c334926b9b13ab17e7b6 (diff)
downloadbcm5719-llvm-9f9559e807339ef728e372ddd358f3508bf15fce.tar.gz
bcm5719-llvm-9f9559e807339ef728e372ddd358f3508bf15fce.zip
ARM: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250759
Diffstat (limited to 'llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp')
-rw-r--r--llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp b/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
index 68736bc1dec..bf0498dfda6 100644
--- a/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
+++ b/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
@@ -256,8 +256,8 @@ bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) {
LastITMI->findRegisterUseOperand(ARM::ITSTATE)->setIsKill();
// Finalize the bundle.
- MachineBasicBlock::instr_iterator LI = LastITMI;
- finalizeBundle(MBB, InsertPos.getInstrIterator(), std::next(LI));
+ finalizeBundle(MBB, InsertPos.getInstrIterator(),
+ ++LastITMI->getIterator());
Modified = true;
++NumITs;
OpenPOWER on IntegriCloud