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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:e98160489e5c09de0903bcc6d0d16f0be70d06c0

commit r16-4594-ge98160489e5c09de0903bcc6d0d16f0be70d06c0
Author: Richard Biener <[email protected]>
Date:   Fri Oct 24 09:07:56 2025 +0200

    tree-optimization/122406 - incomplete handling of reduction chain with
conversion

    The following fixes the mixup between reduction operation and conversion
    wrapping a reduction chain.  This also exposes a missed optimization
    but I'm going to fix that in a followup.

            PR tree-optimization/122406
            * tree-vect-slp.cc (vect_analyze_slp_reduc_chain): Create
            the SLP nodes for the conversions around the reduction
            operation if required.

            * gcc.dg/vect/vect-pr122406-1.c: New testcase.
            * gcc.dg/vect/vect-pr122406-2.c: Likewise.

Reply via email to