[llvm] r250765 - BPF: Remove implicit ilist iterator conversion, NFC
Duncan P. N. Exon Smith via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 17:02:51 PDT 2015
Author: dexonsmith
Date: Mon Oct 19 19:02:50 2015
New Revision: 250765
URL: http://llvm.org/viewvc/llvm-project?rev=250765&view=rev
Log:
BPF: Remove implicit ilist iterator conversion, NFC
Modified:
llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp
Modified: llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp?rev=250765&r1=250764&r2=250765&view=diff
==============================================================================
--- llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp Mon Oct 19 19:02:50 2015
@@ -547,8 +547,7 @@ BPFTargetLowering::EmitInstrWithCustomIn
// 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:
// ...
More information about the llvm-commits
mailing list