mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Pre- increment and decrement where possible
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user