summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/BPF/BPFISelLowering.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-20 00:02:50 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-20 00:02:50 +0000
commitd95fa4ccf182e3ca15d7f469a72cef817f6b9b9d (patch)
tree30138b220af46f6b871d1f7c844824251f1ed9ee /llvm/lib/Target/BPF/BPFISelLowering.cpp
parentd945d50efcc7966e766e40fbd57c185df85ec9ba (diff)
downloadbcm5719-llvm-d95fa4ccf182e3ca15d7f469a72cef817f6b9b9d.tar.gz
bcm5719-llvm-d95fa4ccf182e3ca15d7f469a72cef817f6b9b9d.zip
BPF: Remove implicit ilist iterator conversion, NFC
llvm-svn: 250765
Diffstat (limited to 'llvm/lib/Target/BPF/BPFISelLowering.cpp')
-rw-r--r--llvm/lib/Target/BPF/BPFISelLowering.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/BPF/BPFISelLowering.cpp b/llvm/lib/Target/BPF/BPFISelLowering.cpp
index 73418283d9b..6a5b37e153d 100644
--- a/llvm/lib/Target/BPF/BPFISelLowering.cpp
+++ b/llvm/lib/Target/BPF/BPFISelLowering.cpp
@@ -547,8 +547,7 @@ BPFTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
// to set, the condition code register to branch on, the true/false values to
// select between, and a branch opcode to use.
const BasicBlock *LLVM_BB = BB->getBasicBlock();
- MachineFunction::iterator I = BB;
- ++I;
+ MachineFunction::iterator I = ++BB->getIterator();
// ThisMBB:
// ...
OpenPOWER on IntegriCloud