From 67b8991b543403dc4a0c0954546c4339d139edeb Mon Sep 17 00:00:00 2001 From: Kewen Lin Date: Thu, 22 Oct 2020 22:47:39 -0500 Subject: [PATCH] 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. --- gcc/tree-vect-loop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.30.2