The restriction no longer applies, so remove it. Re-bootstrap and regtest running on x86_64-unknown-linux-gnu.
* tree-vect-data-refs.cc (vect_check_gather_scatter): Remove restriction on epilogue of epilogue vectorization. --- gcc/tree-vect-data-refs.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gcc/tree-vect-data-refs.cc b/gcc/tree-vect-data-refs.cc index 6e7f896e417..0a993176040 100644 --- a/gcc/tree-vect-data-refs.cc +++ b/gcc/tree-vect-data-refs.cc @@ -4585,13 +4585,6 @@ vect_check_gather_scatter (stmt_vec_info stmt_info, loop_vec_info loop_vinfo, masked_p = (ifn == IFN_MASK_LOAD || ifn == IFN_MASK_STORE); } - /* ??? For epilogues we adjust DR_REF to make the following stmt-based - analysis work, but this adjustment doesn't work for epilogues of - epilogues during transform, so disable gather/scatter in that case. */ - if (LOOP_VINFO_EPILOGUE_P (loop_vinfo) - && LOOP_VINFO_EPILOGUE_P (LOOP_VINFO_ORIG_LOOP_INFO (loop_vinfo))) - return false; - /* True if we should aim to use internal functions rather than built-in functions. */ bool use_ifn_p = (DR_IS_READ (dr) -- 2.43.0