[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).
This commit is contained in:
Philip Reames 2022-01-17 12:19:44 -08:00
parent 2cd2accc61
commit 6ca192de58
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ breakBackedgeIfNotTaken(Loop *L, DominatorTree &DT, ScalarEvolution &SE,
return LoopDeletionResult::Unmodified;
}
}
++NumBackedgesBroken;
breakLoopBackedge(L, DT, SE, LI, MSSA);
return LoopDeletionResult::Deleted;
}