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

--- Comment #9 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:c43c74f6ec795a586388de7abfdd20a0040f6f16

commit r15-1583-gc43c74f6ec795a586388de7abfdd20a0040f6f16
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jun 24 09:52:39 2024 +0200

    tree-optimization/115602 - SLP CSE results in cycles

    The following prevents SLP CSE to create new cycles which happened
    because of a 1:1 permute node being present where its child was then
    CSEd to the permute node.  Fixed by making a node only available to
    CSE to after recursing.

            PR tree-optimization/115602
            * tree-vect-slp.cc (vect_cse_slp_nodes): Delay populating the
            bst-map to avoid cycles.

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

Reply via email to