From 6ca8e33c66be2e2ce42f2bc211f6589db37e3c7d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 25 May 2016 08:52:22 +0000 Subject: [PATCH] timevar.def (TV_TREE_LOOP_IFCVT): Add. 2016-05-25 Richard Biener * timevar.def (TV_TREE_LOOP_IFCVT): Add. * tree-if-conv.c (pass_data_if_conversion): Use it. From-SVN: r236695 --- gcc/ChangeLog | 5 +++++ gcc/timevar.def | 1 + gcc/tree-if-conv.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2a1e53..10b4235 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-25 Richard Biener + + * timevar.def (TV_TREE_LOOP_IFCVT): Add. + * tree-if-conv.c (pass_data_if_conversion): Use it. + 2016-05-25 Bernd Edlinger * cgraph.c (cgraph_node::get_availability): Fix typo in comment. diff --git a/gcc/timevar.def b/gcc/timevar.def index 76b008e..170ee9a 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -281,6 +281,7 @@ DEFTIMEVAR (TV_VTABLE_VERIFICATION , "vtable verification") DEFTIMEVAR (TV_TREE_UBSAN , "tree ubsan") DEFTIMEVAR (TV_INITIALIZE_RTL , "initialize rtl") DEFTIMEVAR (TV_GIMPLE_LADDRESS , "address lowering") +DEFTIMEVAR (TV_TREE_LOOP_IFCVT , "tree loop if-conversion") /* Everything else in rest_of_compilation not included above. */ DEFTIMEVAR (TV_EARLY_LOCAL , "early local passes") diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 3bfa69c..fa0cae6 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -2884,7 +2884,7 @@ const pass_data pass_data_if_conversion = GIMPLE_PASS, /* type */ "ifcvt", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_TREE_LOOP_IFCVT, /* tv_id */ ( PROP_cfg | PROP_ssa ), /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ -- 2.7.4