[NFC] Pre- increment and decrement where possible

This commit is contained in:
Anthony Latsis
2020-06-01 15:39:29 +03:00
parent ad0a8d3121
commit 9fd1aa5d59
162 changed files with 398 additions and 397 deletions

View File

@@ -489,7 +489,7 @@ bool DCE::removeDead(SILFunction &F) {
for (auto I = BB.begin(), E = BB.end(); I != E; ) {
auto *Inst = &*I;
I++;
++I;
if (LiveValues.count(Inst) || isa<BranchInst>(Inst))
continue;