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

--- Comment #3 from GCC 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:6ce7008cfa1a240895ecca0898e7dbaecd975567

commit r14-8280-g6ce7008cfa1a240895ecca0898e7dbaecd975567
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Jan 19 09:23:48 2024 +0100

    tree-optimization/113494 - Fix two observed regressions with r14-8206

    The following handles the situation where we lack a loop-closed
    PHI for a virtual operand because a loop exit goes to a code
    region not having any virtual use (an endless loop).  It also
    handles the situation of edge redirection re-allocating a PHI node
    in the destination block so we have to re-lookup that before
    populating the new PHI argument.

            PR tree-optimization/113494
            * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg):
            Handle endless loop on exit.  Handle re-allocated PHI.

Reply via email to