Skip to content

Commit 6ca192d

Browse files
committed
[LoopDeletion] Add back statistic update lost in 523573e
Caught by a couple of builders as an unused variable warning (e.g. https://lab.llvm.org/buildbot#builders/57/builds/13973).
1 parent 2cd2acc commit 6ca192d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Scalar/LoopDeletion.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ breakBackedgeIfNotTaken(Loop *L, DominatorTree &DT, ScalarEvolution &SE,
417417
return LoopDeletionResult::Unmodified;
418418
}
419419
}
420+
++NumBackedgesBroken;
420421
breakLoopBackedge(L, DT, SE, LI, MSSA);
421422
return LoopDeletionResult::Deleted;
422423
}

0 commit comments

Comments
 (0)