When adding late-combine.cc, I forgot to add a timevar for it.

Tested on aarch64-linux-gnu & pushed as obvious.

Richard


gcc/
        * timevar.def (TV_LATE_COMBINE): New timevar.
        * late-combine.cc (pass_data_late_combine): Use it.
---
 gcc/late-combine.cc | 2 +-
 gcc/timevar.def     | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/late-combine.cc b/gcc/late-combine.cc
index 1b6cd0bea2c..ba65e4a93b4 100644
--- a/gcc/late-combine.cc
+++ b/gcc/late-combine.cc
@@ -53,7 +53,7 @@ const pass_data pass_data_late_combine =
   RTL_PASS, // type
   "late_combine", // name
   OPTGROUP_NONE, // optinfo_flags
-  TV_NONE, // tv_id
+  TV_LATE_COMBINE, // tv_id
   0, // properties_required
   0, // properties_provided
   0, // properties_destroyed
diff --git a/gcc/timevar.def b/gcc/timevar.def
index ae80a311a2d..115b2039253 100644
--- a/gcc/timevar.def
+++ b/gcc/timevar.def
@@ -262,6 +262,7 @@ DEFTIMEVAR (TV_AUTO_INC_DEC          , "auto inc dec")
 DEFTIMEVAR (TV_CSE2                  , "CSE 2")
 DEFTIMEVAR (TV_BRANCH_PROB           , "branch prediction")
 DEFTIMEVAR (TV_COMBINE               , "combiner")
+DEFTIMEVAR (TV_LATE_COMBINE          , "late combiner")
 DEFTIMEVAR (TV_IFCVT                , "if-conversion")
 DEFTIMEVAR (TV_MODE_SWITCH           , "mode switching")
 DEFTIMEVAR (TV_SMS                  , "sms modulo scheduling")
-- 
2.25.1

Reply via email to