* dbgcnt.def (dom_unreachable_edges): New debug counter.
* tree-ssa-dom.c: Include dbgcnt.h
(dom_opt_dom_walker::before_dom_children): Handle the new counter.
From-SVN: r231896
+2015-12-21 Jeff Law <law@redhat.com>
+
+ * dbgcnt.def (dom_unreachable_edges): New debug counter.
+ * tree-ssa-dom.c: Include dbgcnt.h
+ (dom_opt_dom_walker::before_dom_children): Handle the new counter.
+
2015-12-21 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64-option-extensions.def (LSE): Change
DEBUG_COUNTER (tree_sra)
DEBUG_COUNTER (vect_loop)
DEBUG_COUNTER (vect_slp)
+DEBUG_COUNTER (dom_unreachable_edges)
#include "tree-ssa-dom.h"
#include "gimplify.h"
#include "tree-cfgcleanup.h"
+#include "dbgcnt.h"
/* This file implements optimizations on the dominator tree. */
/* Now prepare to process dominated blocks. */
record_edge_info (bb);
cprop_into_successor_phis (bb, m_const_and_copies);
+ if (taken_edge && !dbg_cnt (dom_unreachable_edges))
+ return NULL;
+
return taken_edge;
}