[LoopDeletion] NFC: Add loop being analyzed debug statement

llvm-svn: 307096
This commit is contained in:
Anna Thomas 2017-07-04 17:00:03 +00:00
parent 9f0a0bd20b
commit ada4ddc0bc
1 changed files with 2 additions and 0 deletions

View File

@ -361,5 +361,7 @@ bool LoopDeletionLegacyPass::runOnLoop(Loop *L, LPPassManager &) {
ScalarEvolution &SE = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
DEBUG(dbgs() << "Analyzing Loop for deletion: ");
DEBUG(L->dump());
return deleteLoopIfDead(L, DT, SE, LI);
}