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

--- Comment #7 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:6d9d969ab4d0615af17055593c170a120250eba3

commit r16-4454-g6d9d969ab4d0615af17055593c170a120250eba3
Author: Richard Biener <[email protected]>
Date:   Wed Oct 15 16:15:50 2025 +0200

    tree-optimization/122292 - fix reduction code gen issue

    The following fixes a mixup of vector types checked when looking
    at a conditional reduction operation.  We want the actual data
    vector input type, so look at the SLP trees type instead and
    special-case lane-reducing ops like the original code did.

            PR tree-optimization/122292
            * tree-vect-loop.cc (vect_transform_reduction): Compute the
            input vector type the same way the analysis phase does.

Reply via email to