https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649
--- Comment #2 from Hao Liu <hliu at amperecomputing dot com> --- Hi, I bisected the following 3 commits (sequantial): [v3] 3a61ca1b925 - Improve profile updates after loop-ch and cunroll (2023-07-06) <Jan Hubicka> [v2] d4c2e34deef - Improve scale_loop_profile (2023-07-06) <Jan Hubicka> [v1] 224fd59b2dc - Vect: use a small step to calculate induction for the unrolled loop (PR tree-optimization/110449) (2023-07-06) <Hao Liu OS> Tests the time in seconds of 1-copy performance of 482.sphinx3 on zen2: v3: 261s v2: 231s v1: 231s So the regression should be caused by 3a61ca1b925, i.e. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a61ca1b9256535e1bfb19b2d46cde21f3908a5d