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

--- Comment #7 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:71b6257e3a90995e1c1d3d2716a0eec5eef243db

commit r11-2877-g71b6257e3a90995e1c1d3d2716a0eec5eef243db
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Aug 26 14:24:01 2020 +0200

    tree-optimization/96783 - fix vectorization of negative step SLP

    This appropriately uses VMAT_ELEMENTWISE when the vectors cannot be
    filled from a single SLP group until we get more explicit support
    for negative stride SLP.

    2020-08-26  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/96783
            * tree-vect-stmts.c (get_group_load_store_type): Use
            VMAT_ELEMENTWISE for negative strides when we cannot
            use VMAT_STRIDED_SLP.

            * gcc.dg/vect/pr96783-1.c: New testcase.
            * gcc.dg/vect/pr96783-2.c: Likewise.

Reply via email to