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

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

commit r14-9435-gc0c57246d5b47459bdb488734bc2c004a92668b5
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Mar 11 14:58:57 2024 +0100

    tree-optimization/114297 - SLP reduction with early break fix

    The following makes sure to pass in the SLP node for the live stmts
    we are generating the reduction epilogue for to
    vect_create_epilog_for_reduction.  This follows the previous fix for
    the non-SLP path.

            PR tree-optimization/114297
            * tree-vect-loop.cc (vectorizable_live_operation): Pass in the
            live stmts SLP node to vect_create_epilog_for_reduction.

            * gcc.dg/vect/vect-early-break_123-pr114297.c: New testcase.

Reply via email to