]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add a timevar for late combine
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 18 Nov 2024 19:33:58 +0000 (19:33 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 18 Nov 2024 19:33:58 +0000 (19:33 +0000)
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.

gcc/late-combine.cc
gcc/timevar.def

index 1b6cd0bea2c1b2f2606912dff26c8e32a4505557..ba65e4a93b47f79801b1c70d429558ad469686fd 100644 (file)
@@ -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
index ae80a311a2d2e1fcca0a3b70755d325f9fdfb0ea..115b20392533638edb0ab3115025eb15276f718b 100644 (file)
@@ -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")