mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[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
This commit is contained in:
parent
0823f275d4
commit
004e4fe2ff
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user