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

--- Comment #1 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:78124a426ab72f0bc0bcb9301b7cc98b4db6db3a

commit r17-5981-g78124a426ab72f0bc0bcb9301b7cc98b4db6db3a
Author: Vladimir N. Makarov <[email protected]>
Date:   Thu Nov 5 07:40:39 2026 -0500

    [PR 128400][LRA]: Spill plus for memory only if there is no reg target

    The previous fix for PR128251 skipped goal_alt guard and this resulted
    spilling plus when it can be reloaded into a reg.  The patch fixes it and
    decreases code size of SPEC2017 imagick by 0.7%.

    gcc/ChangeLog:

            PR rtl-optimization/128400
            * lra-constraints.cc (curr_insn_transform): Spill plus for memory
            only if there is no reg target.  Reuse reload pseudo.

Reply via email to