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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Still occurs with today's trunk.

Git bisect says it started with r15-919-gef27b91b62c3aa:

ef27b91b62c3aa8841c02665dffa8914c742fd37 is the first new commit
commit ef27b91b62c3aa8841c02665dffa8914c742fd37 (HEAD)
Author: liuhongt <hongtao....@intel.com>
Date:   Tue Feb 27 15:34:57 2024 +0800

    Don't reduce estimated unrolled size for innermost loop.

    For the innermost loop, after completely loop unroll, it will most likely
    not be able to reduce the body size to 2/3. The current 2/3 reduction
    will make some of the larger loops completely unrolled during
    cunrolli, which will then result in them not being able to be
    vectorized. It also increases the register pressure.

    The patch move the 2/3 reduction from estimated_unrolled_size to
    tree_unroll_loops_completely.

    gcc/ChangeLog:

            PR tree-optimization/112325

(with the usual caveat about possibly exposing a latent issue)

Reply via email to