mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 15:53:42 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c05432ec0f
commit
a8f3cf28e0
@ -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…
x
Reference in New Issue
Block a user