[Bug tree-optimization/103029] [12 regression] gcc.dg/vect/pr82436.c ICEs on r12-4818

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 2 17:49:53 GMT 2021


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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:164bbf701ff10ff44e272525e8f462ed3ff1cf43

commit r12-4850-g164bbf701ff10ff44e272525e8f462ed3ff1cf43
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Nov 2 18:47:14 2021 +0100

    tree-optimization/103029 - ensure vect loop versioning constraint on PHIs

    PHI nodes in vectorizer loop versioning need to maintain the same
    order of PHI arguments to not disturb SLP discovery.  The following
    adds an assertion and mitigation in case loop versioning breaks this
    which happens more often after the recent reorg.

    2021-11-02  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/103029
            * tree-vect-loop-manip.c (vect_loop_versioning): Ensure
            the PHI nodes in the loop maintain their original operand
            order.


More information about the Gcc-bugs mailing list