summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/timevar.def1
-rw-r--r--gcc/tree-ssa.c2
3 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9b2b1c680bd..2528870c293 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * timevar.def (TV_TREE_REDPHI): New timevar.
+ * tree-ssa.c (pass_redundant_phi): Use TV_TREE_REDPHI for the tv id.
+
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
PR preprocessor/17651
diff --git a/gcc/timevar.def b/gcc/timevar.def
index a7f5a3a23bb..a9324fad67f 100644
--- a/gcc/timevar.def
+++ b/gcc/timevar.def
@@ -76,6 +76,7 @@ DEFTIMEVAR (TV_TREE_SRA , "tree SRA")
DEFTIMEVAR (TV_TREE_CCP , "tree CCP")
DEFTIMEVAR (TV_TREE_SPLIT_EDGES , "tree split crit edges")
DEFTIMEVAR (TV_TREE_PRE , "tree PRE")
+DEFTIMEVAR (TV_TREE_REDPHI , "tree remove redundant PHIs")
DEFTIMEVAR (TV_TREE_FRE , "tree FRE")
DEFTIMEVAR (TV_TREE_PHIOPT , "tree linearize phis")
DEFTIMEVAR (TV_TREE_FORWPROP , "tree forward propagate")
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c
index adb6a51fbdf..f9c536211f8 100644
--- a/gcc/tree-ssa.c
+++ b/gcc/tree-ssa.c
@@ -1256,7 +1256,7 @@ struct tree_opt_pass pass_redundant_phi =
NULL, /* sub */
NULL, /* next */
0, /* static_pass_number */
- 0, /* tv_id */
+ TV_TREE_REDPHI, /* tv_id */
PROP_cfg | PROP_ssa | PROP_alias, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */