From 6ca8e33c66be2e2ce42f2bc211f6589db37e3c7d Mon Sep 17 00:00:00 2001
From: Richard Biener <rguenther@suse.de>
Date: Wed, 25 May 2016 08:52:22 +0000
Subject: [PATCH] timevar.def (TV_TREE_LOOP_IFCVT): Add.

2016-05-25  Richard Biener  <rguenther@suse.de>

	* 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 f2a1e5372bdc..10b423587bf3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-25  Richard Biener  <rguenther@suse.de>
+
+	* timevar.def (TV_TREE_LOOP_IFCVT): Add.
+	* tree-if-conv.c (pass_data_if_conversion): Use it.
+
 2016-05-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>
 
 	* cgraph.c (cgraph_node::get_availability): Fix typo in comment.
diff --git a/gcc/timevar.def b/gcc/timevar.def
index 76b008ec9c1f..170ee9a29c8f 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 3bfa69cfb509..fa0cae6fdde2 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 */
-- 
GitLab