From ada4ddc0bc49d1837ad296e2d269568c8f632d35 Mon Sep 17 00:00:00 2001 From: Anna Thomas Date: Tue, 4 Jul 2017 17:00:03 +0000 Subject: [PATCH] [LoopDeletion] NFC: Add loop being analyzed debug statement llvm-svn: 307096 --- llvm/lib/Transforms/Scalar/LoopDeletion.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp index 763a02c34754..ac4dd44a0e90 100644 --- a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp +++ b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp @@ -361,5 +361,7 @@ bool LoopDeletionLegacyPass::runOnLoop(Loop *L, LPPassManager &) { ScalarEvolution &SE = getAnalysis().getSE(); LoopInfo &LI = getAnalysis().getLoopInfo(); + DEBUG(dbgs() << "Analyzing Loop for deletion: "); + DEBUG(L->dump()); return deleteLoopIfDead(L, DT, SE, LI); }