From: Richard Biener Date: Tue, 5 Dec 2017 13:19:45 +0000 (+0000) Subject: timevar.def (TV_TREE_RECIP, [...]): Add. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b6546cc4efb5687b62917c6a0d744b842a4945c;p=gcc.git timevar.def (TV_TREE_RECIP, [...]): Add. 2017-12-05 Richard Biener * timevar.def (TV_TREE_RECIP, TV_TREE_SINCOS, TV_TREE_WIDEN_MUL): Add. * tree-ssa-math-opts.c (pass_data_cse_reciprocal): Use TV_TREE_RECIP. (pass_data_cse_sincos): Use TV_TREE_SINCOS. (pass_data_optimize_widening_mul): Use TV_TREE_WIDEN_MUL. From-SVN: r255415 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ac3af5647e..4ddc4801cc2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2017-12-05 Richard Biener + + * timevar.def (TV_TREE_RECIP, TV_TREE_SINCOS, TV_TREE_WIDEN_MUL): + Add. + * tree-ssa-math-opts.c (pass_data_cse_reciprocal): Use TV_TREE_RECIP. + (pass_data_cse_sincos): Use TV_TREE_SINCOS. + (pass_data_optimize_widening_mul): Use TV_TREE_WIDEN_MUL. + 2017-12-05 Rainer Orth * dbxout.c (dbxout_block): Grow buf to 30 bytes. diff --git a/gcc/timevar.def b/gcc/timevar.def index 8cec6af80df..20ab860ca13 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -209,6 +209,9 @@ DEFTIMEVAR (TV_TREE_SSA_VERIFY , "tree SSA verifier") DEFTIMEVAR (TV_TREE_STMT_VERIFY , "tree STMT verifier") DEFTIMEVAR (TV_TREE_SWITCH_CONVERSION, "tree switch conversion") DEFTIMEVAR (TV_TREE_SWITCH_LOWERING, "tree switch lowering") +DEFTIMEVAR (TV_TREE_RECIP , "gimple CSE reciprocals") +DEFTIMEVAR (TV_TREE_SINCOS , "gimple CSE sin/cos") +DEFTIMEVAR (TV_TREE_WIDEN_MUL , "gimple widening/fma detection") DEFTIMEVAR (TV_TRANS_MEM , "transactional memory") DEFTIMEVAR (TV_TREE_STRLEN , "tree strlen optimization") DEFTIMEVAR (TV_CGRAPH_VERIFY , "callgraph verifier") diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 7b5250b083c..8db12f5e1cd 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -688,7 +688,7 @@ const pass_data pass_data_cse_reciprocals = GIMPLE_PASS, /* type */ "recip", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_TREE_RECIP, /* tv_id */ PROP_ssa, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -1902,7 +1902,7 @@ const pass_data pass_data_cse_sincos = GIMPLE_PASS, /* type */ "sincos", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_TREE_SINCOS, /* tv_id */ PROP_ssa, /* properties_required */ PROP_gimple_opt_math, /* properties_provided */ 0, /* properties_destroyed */ @@ -3243,7 +3243,7 @@ const pass_data pass_data_optimize_widening_mul = GIMPLE_PASS, /* type */ "widening_mul", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_TREE_WIDEN_MUL, /* tv_id */ PROP_ssa, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */