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

--- Comment #1 from Haochen Jiang <haochen.jiang at intel dot com> ---
>From my bisect, it might caused by r15-7932 on single copy for Ice Lake.

Guilty Commit: e355fe414aa3aaf215c7dd9dd789ce217a1b458c
Author: Vladimir N. Makarov
Date: 2025-03-11 04:27:51 Tuesday
Diff: -2.45499181669395%
Message: [PR114991][IRA]: Improve reg equiv invariant calculation

In PR test case IRA preferred to allocate hard reg to a pseudo instead
of its equivalence.  This resulted in allocating caller-saved hard reg
and generating save/restore insns in the function prologue/epilogue.
The equivalence is an invariant (stack pointer plus offset) and the
pseudo is used mostly as memory address.  This happened as there was
no simplification of insn after the invariant substitution.  The patch
adds the necessary code.

Reply via email to