mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Print debug message only if there are dead passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52052 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30073ff412
commit
8fb6a94b69
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user