Remove the gimple ** argument that is no longer needed from vectorizable_lc_phi
and vect_transform_lc_phi.
---
 gcc/tree-vect-loop.cc  | 4 ++--
 gcc/tree-vect-stmts.cc | 4 ++--
 gcc/tree-vectorizer.h  | 6 ++----
 3 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc
index 7a4fd74c837..7769d2ba48a 100644
--- a/gcc/tree-vect-loop.cc
+++ b/gcc/tree-vect-loop.cc
@@ -9019,7 +9019,7 @@ vect_transform_cycle_phi (loop_vec_info loop_vinfo,
 
 bool
 vectorizable_lc_phi (loop_vec_info loop_vinfo,
-		     stmt_vec_info stmt_info, gimple **vec_stmt,
+		     stmt_vec_info stmt_info,
 		     slp_tree slp_node)
 {
   if (!loop_vinfo
@@ -9047,7 +9047,7 @@ vectorizable_lc_phi (loop_vec_info loop_vinfo,
 
 bool
 vect_transform_lc_phi (loop_vec_info loop_vinfo,
-		       stmt_vec_info stmt_info, gimple **vec_stmt,
+		       stmt_vec_info stmt_info,
 		       slp_tree slp_node)
 {
 
diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 26fde7df1ff..0f240f5edf2 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -14056,7 +14056,7 @@ vect_analyze_stmt (vec_info *vinfo,
 	  || vectorizable_comparison (vinfo, stmt_info, NULL, NULL, node,
 				      cost_vec)
 	  || vectorizable_lc_phi (as_a <loop_vec_info> (vinfo),
-				  stmt_info, NULL, node)
+				  stmt_info, node)
 	  || vectorizable_recurr (as_a <loop_vec_info> (vinfo),
 				   stmt_info, NULL, node, cost_vec)
 	  || vectorizable_early_exit (vinfo, stmt_info, NULL, NULL, node,
@@ -14235,7 +14235,7 @@ vect_transform_stmt (vec_info *vinfo,
 
     case lc_phi_info_type:
       done = vect_transform_lc_phi (as_a <loop_vec_info> (vinfo),
-				    stmt_info, &vec_stmt, slp_node);
+				    stmt_info, slp_node);
       gcc_assert (done);
       break;
 
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h
index 6c7aa428dbd..74777b31254 100644
--- a/gcc/tree-vectorizer.h
+++ b/gcc/tree-vectorizer.h
@@ -2610,10 +2610,8 @@ extern bool vect_transform_reduction (loop_vec_info, stmt_vec_info,
 				      slp_tree);
 extern bool vect_transform_cycle_phi (loop_vec_info, stmt_vec_info,
 				      slp_tree, slp_instance);
-extern bool vectorizable_lc_phi (loop_vec_info, stmt_vec_info,
-				 gimple**, slp_tree);
-extern bool vect_transform_lc_phi (loop_vec_info, stmt_vec_info,
-				   gimple**, slp_tree);
+extern bool vectorizable_lc_phi (loop_vec_info, stmt_vec_info, slp_tree);
+extern bool vect_transform_lc_phi (loop_vec_info, stmt_vec_info, slp_tree);
 extern bool vectorizable_phi (vec_info *, stmt_vec_info, gimple **, slp_tree,
 			      stmt_vector_for_cost *);
 extern bool vectorizable_recurr (loop_vec_info, stmt_vec_info,

Reply via email to