From: Jakub Jelinek Date: Fri, 1 May 2026 06:36:24 +0000 (+0200) Subject: tree-vect-loop: Remove useless && 1. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7c69e8f540ccd41b0368cd5fe650b4aef3758eb;p=thirdparty%2Fgcc.git tree-vect-loop: Remove useless && 1. r16-476 has replaced && slp_node with && 1 and it remained that way until now. THis patch just removes that. 2026-05-01 Jakub Jelinek * tree-vect-loop.cc (vectorizable_reduction): Remove pointless && 1. --- diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc index 43b0606a594..ac7e08cf205 100644 --- a/gcc/tree-vect-loop.cc +++ b/gcc/tree-vect-loop.cc @@ -7476,7 +7476,6 @@ vectorizable_reduction (loop_vec_info loop_vinfo, || reduction_type == INTEGER_INDUC_COND_REDUCTION || reduction_type == CONST_COND_REDUCTION || reduction_type == EXTRACT_LAST_REDUCTION) - && 1 && ncopies > 1) { if (dump_enabled_p ())