projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d594a9
)
Fix this debug output to handle the case where the loop has been deleted.
author
Dan Gohman
<gohman@apple.com>
Mon, 28 Sep 2009 15:40:01 +0000
(15:40 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 28 Sep 2009 15:40:01 +0000
(15:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82994
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/LoopPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/LoopPass.cpp
b/lib/Analysis/LoopPass.cpp
index e346cc0dd4184891ac1a169411addbb36e16a15d..43463cd8ef1cc6c13537b56facb61bb38c400f2e 100644
(file)
--- a/
lib/Analysis/LoopPass.cpp
+++ b/
lib/Analysis/LoopPass.cpp
@@
-241,7
+241,8
@@
bool LPPassManager::runOnFunction(Function &F) {
if (Changed)
dumpPassInfo(P, MODIFICATION_MSG, ON_LOOP_MSG,
- CurrentLoop->getHeader()->getNameStr());
+ skipThisLoop ? "<deleted>" :
+ CurrentLoop->getHeader()->getNameStr());
dumpPreservedSet(P);
if (!skipThisLoop) {