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:
30073ff
)
Print debug message only if there are dead passes.
author
Devang Patel
<dpatel@apple.com>
Fri, 6 Jun 2008 17:50:36 +0000
(17:50 +0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 6 Jun 2008 17:50:36 +0000
(17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52052
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/PassManager.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/PassManager.cpp
b/lib/VMCore/PassManager.cpp
index cd7138cad13194154fa14527fd1116da8097907e..e1f8afe3b0ea069f77589a5e26e8ac05ab080731 100644
(file)
--- a/
lib/VMCore/PassManager.cpp
+++ b/
lib/VMCore/PassManager.cpp
@@
-665,9
+665,10
@@
void PMDataManager::removeDeadPasses(Pass *P, const char *Msg,
TPM->collectLastUses(DeadPasses, P);
- if (PassDebugging >= Details) {
+ if (PassDebugging >= Details
&& !DeadPasses.empty()
) {
cerr << " -*- " << P->getPassName();
- cerr << " is the last users of following passes. Free them\n";
+ cerr << " is the last user of following pass instances.";
+ cerr << " Free these instances\n";
}
for (SmallVector<Pass *, 12>::iterator I = DeadPasses.begin(),