[Bug tree-optimization/126371] [17 Regression] 8% slowdown of s122 from TSVC benchmark suite on Aarch64 (Neoverse N1) since r17-2277-g6d975812860304

"pheeck at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126371

Filip Kastl <pheeck at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
                 CC|                            |law at gcc dot gnu.org
   Target Milestone|---                         |17.0
            Summary|[17 Regression] 8% slowdown |[17 Regression] 8% slowdown
                   |of s122 from TSVC benchmark |of s122 from TSVC benchmark
                   |suite on Aarch64 (Neoverse  |suite on Aarch64 (Neoverse
                   |N1)                         |N1) since
                   |                            |r17-2277-g6d975812860304

--- Comment #2 from Filip Kastl <pheeck at gcc dot gnu.org> ---
Bisected to r17-2277-g6d975812860304

commit 6d97581286030449420dc4ee79612dd256067e2c
Author:     Jovan Dmitrovic <[email protected]>
AuthorDate: Thu Jul 9 07:31:17 2026 -0600
Commit:     Jeff Law <[email protected]>
CommitDate: Thu Jul 9 07:31:54 2026 -0600

    ivopts: Set register pressure cost to zero if there are enough registers.

    In function ivopts_estimate_reg_pressure, return zero if there are
    enough registers available so that spilling is not necessary.

    gcc/ChangeLog:

            * tree-ssa-loop-ivopts.cc (ivopts_estimate_reg_pressure):
            Return zero if there are enough registers to store new
            invariants and induction variables.

    Suggested-by:  Richard Biener <[email protected]>
    Signed-off-by: Jovan Dmitrović <[email protected]>
    Signed-off-by: Djordje Todorović <[email protected]>
    Signed-off-by: Chao-Ying Fu <[email protected]>
    Signed-off-by: Radosav Krunić <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.