summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kuderski <kubakuderski@gmail.com>2017-08-18 17:06:37 +0000
committerJakub Kuderski <kubakuderski@gmail.com>2017-08-18 17:06:37 +0000
commit756c09a58f300b4933ae78df91eb0835046e2bb5 (patch)
tree7bab3943188e92ead8f1edc3bf533a45dad31258
parentdbc16476c1b51346cad6a06558b0f2419656e1f8 (diff)
downloadbcm5719-llvm-756c09a58f300b4933ae78df91eb0835046e2bb5.tar.gz
bcm5719-llvm-756c09a58f300b4933ae78df91eb0835046e2bb5.zip
[Dominators] Don't print the whole tree when running with -debug
As the incremental API is now used in several transforms, printing the whole dominator tree creates a lot of noise when running with the `-debug` flag. This patch fixes that. llvm-svn: 311176
-rw-r--r--llvm/include/llvm/Support/GenericDomTreeConstruction.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/GenericDomTreeConstruction.h b/llvm/include/llvm/Support/GenericDomTreeConstruction.h
index 5883ce9e1e5..57d1c21f244 100644
--- a/llvm/include/llvm/Support/GenericDomTreeConstruction.h
+++ b/llvm/include/llvm/Support/GenericDomTreeConstruction.h
@@ -852,8 +852,6 @@ struct SemiNCAInfo {
DEBUG(dbgs() << "Inserted " << BlockNamePrinter(From)
<< " -> (prev unreachable) " << BlockNamePrinter(To) << "\n");
- DEBUG(DT.print(dbgs()));
-
// Used the discovered edges and inset discovered connecting (incoming)
// edges.
for (const auto &Edge : DiscoveredEdgesToReachable) {
@@ -888,7 +886,6 @@ struct SemiNCAInfo {
SNCA.attachNewSubtree(DT, Incoming);
DEBUG(dbgs() << "After adding unreachable nodes\n");
- DEBUG(DT.print(dbgs()));
}
static void DeleteEdge(DomTreeT &DT, const BatchUpdatePtr BUI,
OpenPOWER on IntegriCloud