https://gcc.gnu.org/g:a019429f365e32d0ce01b0b60924f0dd37737769

commit r15-5424-ga019429f365e32d0ce01b0b60924f0dd37737769
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Mon Nov 18 19:33:58 2024 +0000

    Add a timevar for late combine
    
    When adding late-combine.cc, I forgot to add a timevar for it.
    
    gcc/
            * timevar.def (TV_LATE_COMBINE): New timevar.
            * late-combine.cc (pass_data_late_combine): Use it.

Diff:
---
 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 1b6cd0bea2c1..ba65e4a93b47 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 ae80a311a2d2..115b20392533 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")

Reply via email to