aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-11-18 19:33:58 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2024-11-18 19:33:58 +0000
commita019429f365e32d0ce01b0b60924f0dd37737769 (patch)
tree9c36750e536fb225f2183426ec630b7b1b264743 /gcc
parent8633bdb346be748bb4dcd774ab63a01378e6af48 (diff)
downloadgcc-a019429f365e32d0ce01b0b60924f0dd37737769.zip
gcc-a019429f365e32d0ce01b0b60924f0dd37737769.tar.gz
gcc-a019429f365e32d0ce01b0b60924f0dd37737769.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/late-combine.cc2
-rw-r--r--gcc/timevar.def1
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/late-combine.cc b/gcc/late-combine.cc
index 1b6cd0b..ba65e4a 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 ae80a31..115b203 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")