aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbgcnt.def
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2024-07-16 09:53:20 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2024-07-17 09:40:10 -0700
commit7c3287f3613210d4f98c8095bc739bea6582bfbb (patch)
tree5e280a392b22b1bc22a4c78c1b280a7d3e8cc308 /gcc/dbgcnt.def
parent0841fd4c42ab053be951b7418233f0478282d020 (diff)
downloadgcc-7c3287f3613210d4f98c8095bc739bea6582bfbb.zip
gcc-7c3287f3613210d4f98c8095bc739bea6582bfbb.tar.gz
gcc-7c3287f3613210d4f98c8095bc739bea6582bfbb.tar.bz2
Add debug counter for ext_dce
Like r15-1610-gb6215065a5b143 (which adds one for late_combine), adding one for ext_dce is useful to debug some issues with this pass. Bootstrapped and tested on x86_64-linux-gnu with no regressions. gcc/ChangeLog: * dbgcnt.def (ext_dce): New debug counter. * ext-dce.cc (ext_dce_try_optimize_insn): Reject the insn if the debug counter says so. (ext_dce): Rename to ... (ext_dce_execute): This. (pass_ext_dce::execute): Update for the name of ext_dce. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/dbgcnt.def')
-rw-r--r--gcc/dbgcnt.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dbgcnt.def b/gcc/dbgcnt.def
index e0b9b1b..ac1f870 100644
--- a/gcc/dbgcnt.def
+++ b/gcc/dbgcnt.def
@@ -162,6 +162,7 @@ DEBUG_COUNTER (dom_unreachable_edges)
DEBUG_COUNTER (dse)
DEBUG_COUNTER (dse1)
DEBUG_COUNTER (dse2)
+DEBUG_COUNTER (ext_dce)
DEBUG_COUNTER (form_fma)
DEBUG_COUNTER (gcse2_delete)
DEBUG_COUNTER (gimple_unroll)