The following removes trivially dead code.

Built on x86_64-unknown-linux-gnu, pushed.

        * tree-vect-loop.cc (vect_transform_cycle_phi): Remove
        unused reduc_stmt_info.
---
 gcc/tree-vect-loop.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc
index 65fa68d3ee6..6160d116ebb 100644
--- a/gcc/tree-vect-loop.cc
+++ b/gcc/tree-vect-loop.cc
@@ -8353,8 +8353,6 @@ vect_transform_cycle_phi (loop_vec_info loop_vinfo,
       nested_cycle = true;
     }
 
-  stmt_vec_info reduc_stmt_info = STMT_VINFO_REDUC_DEF (stmt_info);
-  reduc_stmt_info = vect_stmt_to_vectorize (reduc_stmt_info);
   stmt_vec_info reduc_info = info_for_reduction (loop_vinfo, stmt_info);
   gcc_assert (reduc_info->is_reduc_info);
 
-- 
2.43.0

Reply via email to