mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
[LoopDeletion] NFC: Add loop being analyzed debug statement
llvm-svn: 307096
This commit is contained in:
parent
e2ac627557
commit
289d0ebad4
@ -361,5 +361,7 @@ bool LoopDeletionLegacyPass::runOnLoop(Loop *L, LPPassManager &) {
|
|||||||
ScalarEvolution &SE = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
|
ScalarEvolution &SE = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
|
||||||
LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
|
LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
|
||||||
|
|
||||||
|
DEBUG(dbgs() << "Analyzing Loop for deletion: ");
|
||||||
|
DEBUG(L->dump());
|
||||||
return deleteLoopIfDead(L, DT, SE, LI);
|
return deleteLoopIfDead(L, DT, SE, LI);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user