[polly] r262117 - ScopInfo: Drop some debug statements
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 26 22:59:30 PST 2016
Author: grosser
Date: Sat Feb 27 00:59:30 2016
New Revision: 262117
URL: http://llvm.org/viewvc/llvm-project?rev=262117&view=rev
Log:
ScopInfo: Drop some debug statements
This debug output distracts from the -debug-only=polly-scops output. As it is
rather verbose and only really needed for debugging the domain construction
I drop this output. The domain construction is meanwhile stable enough to
not require regular debugging.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=262117&r1=262116&r2=262117&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Sat Feb 27 00:59:30 2016
@@ -2240,13 +2240,8 @@ void Scop::buildDomainsWithBranchConstra
continue;
isl_set *Domain = DomainMap.lookup(BB);
- if (!Domain) {
- DEBUG(dbgs() << "\tSkip: " << BB->getName()
- << ", it is only reachable from error blocks.\n");
+ if (!Domain)
continue;
- }
-
- DEBUG(dbgs() << "\tVisit: " << BB->getName() << " : " << Domain << "\n");
Loop *BBLoop = getRegionNodeLoop(RN, LI);
int BBLoopDepth = getRelativeLoopDepth(BBLoop);
@@ -2321,8 +2316,6 @@ void Scop::buildDomainsWithBranchConstra
SuccDomain = Empty;
invalidate(ERROR_DOMAINCONJUNCTS, DebugLoc());
}
- DEBUG(dbgs() << "\tSet SuccBB: " << SuccBB->getName() << " : "
- << SuccDomain << "\n");
}
}
}
@@ -2382,12 +2375,9 @@ void Scop::propagateDomainConstraints(Re
BasicBlock *BB = getRegionNodeBasicBlock(RN);
isl_set *&Domain = DomainMap[BB];
if (!Domain) {
- DEBUG(dbgs() << "\tSkip: " << BB->getName()
- << ", it is only reachable from error blocks.\n");
DomainMap.erase(BB);
continue;
}
- DEBUG(dbgs() << "\tVisit: " << BB->getName() << " : " << Domain << "\n");
Loop *BBLoop = getRegionNodeLoop(RN, LI);
int BBLoopDepth = getRelativeLoopDepth(BBLoop);
More information about the llvm-commits
mailing list