summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-02-27 06:59:30 +0000
committerTobias Grosser <tobias@grosser.es>2016-02-27 06:59:30 +0000
commit4fb9e516647f45e6953bfb3ac6385fbab67391b2 (patch)
tree9d0b1445afd5a131f53b4fd0a3748f53eeab5002
parentb6bb889dfd7964e59f91dcb8d1c6ac178fbb3528 (diff)
downloadbcm5719-llvm-4fb9e516647f45e6953bfb3ac6385fbab67391b2.tar.gz
bcm5719-llvm-4fb9e516647f45e6953bfb3ac6385fbab67391b2.zip
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. llvm-svn: 262117
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index fba2ab93bbb..e1818e65703 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -2240,13 +2240,8 @@ void Scop::buildDomainsWithBranchConstraints(Region *R, ScopDetection &SD,
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::buildDomainsWithBranchConstraints(Region *R, ScopDetection &SD,
SuccDomain = Empty;
invalidate(ERROR_DOMAINCONJUNCTS, DebugLoc());
}
- DEBUG(dbgs() << "\tSet SuccBB: " << SuccBB->getName() << " : "
- << SuccDomain << "\n");
}
}
}
@@ -2382,12 +2375,9 @@ void Scop::propagateDomainConstraints(Region *R, ScopDetection &SD,
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);
OpenPOWER on IntegriCloud