diff options
author | Richard Biener <rguenther@suse.de> | 2024-11-07 09:23:03 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-11-07 11:05:07 +0100 |
commit | 7a07de2c60b3c513b6aef206e9b55b3ffefe8b39 (patch) | |
tree | 2889a0158b409ea2882411e1912cac79d855090d /gcc/ext-dce.cc | |
parent | 50ecb6e960e98fa3150239af72cf751f9b644544 (diff) | |
download | gcc-7a07de2c60b3c513b6aef206e9b55b3ffefe8b39.zip gcc-7a07de2c60b3c513b6aef206e9b55b3ffefe8b39.tar.gz gcc-7a07de2c60b3c513b6aef206e9b55b3ffefe8b39.tar.bz2 |
rtl-optimization/117467 - 33% compile-time in rest of compilation
ext-dce uses TV_NONE, that's not OK for a pass taking 33% compile-time.
The following adds a timevar to it for proper blaming.
PR rtl-optimization/117467
* timevar.def (TV_EXT_DCE): New.
* ext-dce.cc (pass_data_ext_dce): Use TV_EXT_DCE.
Diffstat (limited to 'gcc/ext-dce.cc')
-rw-r--r-- | gcc/ext-dce.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ext-dce.cc b/gcc/ext-dce.cc index a449b9f..0ece377 100644 --- a/gcc/ext-dce.cc +++ b/gcc/ext-dce.cc @@ -1103,7 +1103,7 @@ const pass_data pass_data_ext_dce = RTL_PASS, /* type */ "ext_dce", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_EXT_DCE, /* tv_id */ PROP_cfglayout, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ |