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

--- Comment #3 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:6bb6e2044ced33d08175361b8e39a9c5d4a868a6

commit r12-2570-g6bb6e2044ced33d08175361b8e39a9c5d4a868a6
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jul 28 14:16:35 2021 +0200

    tree-optimization/101615 - SLP permute opt of existing vectors

    This fixes one issue discovered when analyzing PR101615, namely
    we happily push permutes to pre-existing vectors but end up
    not actually permuting them.  In fact we don't want to, so force
    materialization on the external.

    It doesn't fix the original testcase though.

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

            PR tree-optimization/101615
            * tree-vect-slp.c (vect_optimize_slp): Pre-existing vector
            external nodes cannot be permuted so make them perm_out 0.

            * gcc.dg/vect/bb-slp-pr101615-1.c: New testcase.

Reply via email to