timevar.def (TV_TREE_PHI_CPROP): New timevar.

* timevar.def (TV_TREE_PHI_CPROP): New timevar.
        * tree-ssa-dom.c (pass_phi_only_cprop): Use it.

From-SVN: r112466
This commit is contained in:
Jeff Law 2006-03-28 12:10:11 -07:00 committed by Jeff Law
parent 8887f02b44
commit b6313dcf96
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-28 Jeff Law <law@redhat.com>
* timevar.def (TV_TREE_PHI_CPROP): New timevar.
* tree-ssa-dom.c (pass_phi_only_cprop): Use it.
2006-03-28 Roger Sayle <roger@eyesopen.com>
* fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & Y) ^ Y as

View File

@ -86,6 +86,7 @@ DEFTIMEVAR (TV_TREE_SSA_DOMINATOR_OPTS , "dominator optimization")
DEFTIMEVAR (TV_TREE_SRA , "tree SRA")
DEFTIMEVAR (TV_TREE_STORE_CCP , "tree STORE-CCP")
DEFTIMEVAR (TV_TREE_CCP , "tree CCP")
DEFTIMEVAR (TV_TREE_PHI_CPROP , "tree PHI const/copy prop")
DEFTIMEVAR (TV_TREE_SPLIT_EDGES , "tree split crit edges")
DEFTIMEVAR (TV_TREE_REASSOC , "tree reassociation")
DEFTIMEVAR (TV_TREE_PRE , "tree PRE")

View File

@ -2465,7 +2465,7 @@ struct tree_opt_pass pass_phi_only_cprop =
NULL, /* sub */
NULL, /* next */
0, /* static_pass_number */
TV_TREE_CCP, /* tv_id */
TV_TREE_PHI_CPROP, /* tv_id */
PROP_cfg | PROP_ssa | PROP_alias, /* properties_required */
0, /* properties_provided */
PROP_smt_usage, /* properties_destroyed */