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

--- 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:a29124d28253cdf603ba1977db2f09c9f233fea5

commit r11-7822-ga29124d28253cdf603ba1977db2f09c9f233fea5
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Mar 24 12:55:16 2021 +0100

    tree-optimization/99746 - avoid confusing hybrid code

    This avoids confusing the hybrid vectorization code with SLP
    patterns by not marking SLP pattern covered stmts as patterns
    (they are marked as SLP patterns already).  This means that loop
    vectorization will vectorize the scalar stmt rather than the SLP
    pattern stmt (which it can't anyway).

    2021-03-24  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/99746
            * tree-vect-slp-patterns.c (complex_pattern::build): Do not mark
            the scalar stmt as patterned.  Instead set up required things
            manually.

            * gfortran.dg/vect/pr99746.f90: New testcase.

Reply via email to