]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove dead code
authorRichard Biener <rguenther@suse.de>
Wed, 27 Aug 2025 13:19:44 +0000 (15:19 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 27 Aug 2025 13:26:50 +0000 (15:26 +0200)
The following removes trivially dead code.

* tree-vect-loop.cc (vect_transform_cycle_phi): Remove
unused reduc_stmt_info.

gcc/tree-vect-loop.cc

index 2bea904de82ae1c1db307c4f0f05b32f404f8bc3..f22613e5a3a8c29bedab0eecc02215256e55e802 100644 (file)
@@ -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);