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

--- Comment #4 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:e5c170e080399fb3d24a38bbfcd66bd4675abe53

commit r11-8005-ge5c170e080399fb3d24a38bbfcd66bd4675abe53
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Apr 6 13:20:44 2021 +0200

    tree-optimization/99880 - avoid vectorizing irrelevant PHI backedge defs

    This adds a relevancy check before trying to set the vector def of
    a backedge in an unvectorized PHI.

    2021-04-06  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/99880
            * tree-vect-loop.c (maybe_set_vectorized_backedge_value): Only
            set vectorized defs of relevant PHIs.

            * gcc.dg/torture/pr99880.c: New testcase.

Reply via email to