diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-07-16 09:53:20 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-07-17 09:40:10 -0700 |
commit | 7c3287f3613210d4f98c8095bc739bea6582bfbb (patch) | |
tree | 5e280a392b22b1bc22a4c78c1b280a7d3e8cc308 /gcc/dbgcnt.def | |
parent | 0841fd4c42ab053be951b7418233f0478282d020 (diff) | |
download | gcc-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.def | 1 |
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) |