llvm.org GIT mirror llvm / a8f3cf2
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311176 91177308-0d34-0410-b5e6-96231b3b80d8 Jakub Kuderski 2 years ago
1 changed file(s) with 0 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
851851 DEBUG(dbgs() << "Inserted " << BlockNamePrinter(From)
852852 << " -> (prev unreachable) " << BlockNamePrinter(To) << "\n");
853853
854 DEBUG(DT.print(dbgs()));
855
856854 // Used the discovered edges and inset discovered connecting (incoming)
857855 // edges.
858856 for (const auto &Edge : DiscoveredEdgesToReachable) {
887885 SNCA.attachNewSubtree(DT, Incoming);
888886
889887 DEBUG(dbgs() << "After adding unreachable nodes\n");
890 DEBUG(DT.print(dbgs()));
891888 }
892889
893890 static void DeleteEdge(DomTreeT &DT, const BatchUpdatePtr BUI,