https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118358
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Makarov <[email protected]>: https://gcc.gnu.org/g:b7f137e56867dd3aa1f05f3409f146391dec131c commit r16-5499-gb7f137e56867dd3aa1f05f3409f146391dec131c Author: Vladimir N. Makarov <[email protected]> Date: Fri Nov 21 11:49:31 2025 -0500 [PR118358, LRA]: Decrease pressure after issuing input reload insns LRA can generate sequence of reload insns for one input operand using intermediate pseudos. Register pressure when reload insn for another input operand is placed before the sequence is more than when the reload insn is placed after the sequence. The problem report reveals a case when several such sequences increase the pressure for input reload insns beyond available registers and as a consequence this results in LRA cycling. gcc/ChangeLog: PR target/118358 * lra-constraints.cc (curr_insn_transform): Move insn reloading constant into a register right before insn using it. gcc/testsuite/ChangeLog: PR target/118358 * gcc.target/xstormy16/pr118358.c: New.
