From: Kewen Lin Date: Fri, 23 Oct 2020 03:47:39 +0000 (-0500) Subject: vect: Remove redundant LOOP_VINFO_FULLY_MASKED_P X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67b8991b543403dc4a0c0954546c4339d139edeb;p=gcc.git vect: Remove redundant LOOP_VINFO_FULLY_MASKED_P Remove one redundant LOOP_VINFO_FULLY_MASKED_P condition check which will be checked in vect_use_loop_mask_for_alignment_p. gcc/ChangeLog: * tree-vect-loop.c (vect_transform_loop): Remove the redundant LOOP_VINFO_FULLY_MASKED_P check. --- diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index 6c29e00b280..e42f3277ed5 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -9084,8 +9084,7 @@ vect_transform_loop (loop_vec_info loop_vinfo, gimple *loop_vectorized_call) split_edge (loop_preheader_edge (loop)); - if (LOOP_VINFO_FULLY_MASKED_P (loop_vinfo) - && vect_use_loop_mask_for_alignment_p (loop_vinfo)) + if (vect_use_loop_mask_for_alignment_p (loop_vinfo)) /* This will deal with any possible peeling. */ vect_prepare_for_masked_peels (loop_vinfo);