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

--- Comment #4 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:bcdbedb3e6083ad01d844ed97cf19645c1ef6568

commit r14-3216-gbcdbedb3e6083ad01d844ed97cf19645c1ef6568
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Aug 14 09:31:18 2023 +0200

    tree-optimization/110991 - unroll size estimate after vectorization

    The following testcase shows that we are bad at identifying inductions
    that will be optimized away after vectorizing them because SCEV doesn't
    handle vectorized defs.  The following rolls a simpler identification
    of SSA cycles covering a PHI and an assignment with a binary operator
    with a constant second operand.

            PR tree-optimization/110991
            * tree-ssa-loop-ivcanon.cc (constant_after_peeling): Handle
            VIEW_CONVERT_EXPR <op>, handle more simple IV-like SSA cycles
            that will end up constant.

            * gcc.dg/tree-ssa/cunroll-16.c: New testcase.

Reply via email to