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

--- Comment #16 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:5d09fb683a8abce49dc0992f5102aa0189f8f632

commit r14-2790-g5d09fb683a8abce49dc0992f5102aa0189f8f632
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jul 26 13:31:16 2023 +0200

    tree-optimization/106081 - elide redundant permute

    The following patch makes sure to elide a redundant permute that
    can be merged with existing splats represented as load permutations
    as we now do for non-grouped SLP loads.  This is the last bit
    missing to fix this PR where the main fix was already done by
    r14-2117-gdd86a5a69cbda4

            PR tree-optimization/106081
            * tree-vect-slp.cc
(vect_optimize_slp_pass::start_choosing_layouts):
            Assign layout -1 to splats.

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

Reply via email to