https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101445

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:a967a3efd39280fe3f5774e45490e991f8e99059

commit r12-2294-ga967a3efd39280fe3f5774e45490e991f8e99059
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jul 14 11:06:58 2021 +0200

    tree-optimization/101445 - fix negative stride SLP vect with gaps

    The following fixes the IV adjustment for the gap in a negative
    stride SLP vectorization.  The adjustment was in the wrong direction,
    now fixes as in the patch.

    2021-07-14  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/101445
            * tree-vect-stmts.c (vectorizable_load): Do the gap adjustment
            of the IV in the correct direction for negative stride
            accesses.

            * gcc.dg/vect/pr101445.c: New testcase.

Reply via email to