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

--- Comment #5 from CVS 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:e80f7c13f64e10c6a3354c5d6b42da60b21ed0b8

commit r14-3440-ge80f7c13f64e10c6a3354c5d6b42da60b21ed0b8
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Aug 24 10:30:12 2023 +0200

    tree-optimization/111125 - properly cost BB reduction remain stmt handling

    We assume that all root stmts which compose the total reduction chain
    are vectorized but fail to account for the cost of adding back the
    scalar defs we are not vectorizing.  The following rectifies this,
    fixing the gcc.dg/tree-ssa/slsr-11.c FAIL on aarch64.

            PR tree-optimization/111125
            * tree-vect-slp.cc (vectorizable_bb_reduc_epilogue): Account
            for the remain_defs processing.

Reply via email to