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  <jakub@redhat.com>

	* tree-vect-loop.cc (vectorizable_reduction): Remove pointless
	&& 1.
This commit is contained in:
Jakub Jelinek
2026-05-01 08:36:24 +02:00
committed by Jakub Jelinek
parent fff26a966b
commit b7c69e8f54

View File

@@ -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 ())