mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 01:11:44 +00:00
CodeGen: Use handy new-fangled post-increment, NFC
Drive-by cleanup; I noticed this when reviewing the patch that became r225466. llvm-svn: 225468
This commit is contained in:
parent
71e44f03e9
commit
f4c5cf1d04
@ -4330,7 +4330,7 @@ bool CodeGenPrepare::PlaceDbgValues(Function &F) {
|
||||
for (BasicBlock &BB : F) {
|
||||
Instruction *PrevNonDbgInst = nullptr;
|
||||
for (BasicBlock::iterator BI = BB.begin(), BE = BB.end(); BI != BE;) {
|
||||
Instruction *Insn = BI; ++BI;
|
||||
Instruction *Insn = BI++;
|
||||
DbgValueInst *DVI = dyn_cast<DbgValueInst>(Insn);
|
||||
// Leave dbg.values that refer to an alloca alone. These
|
||||
// instrinsics describe the address of a variable (= the alloca)
|
||||
|
Loading…
Reference in New Issue
Block a user