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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmaka...@gcc.gnu.org>:

https://gcc.gnu.org/g:fab96de044f1f023f52d43af866205d17d8895fb

commit r15-6751-gfab96de044f1f023f52d43af866205d17d8895fb
Author: Vladimir N. Makarov <vmaka...@redhat.com>
Date:   Thu Jan 9 16:22:02 2025 -0500

    [PR118017][LRA]: Don't inherit reg of non-uniform reg class

    In the PR case LRA inherited value of register of class INT_SSE_REGS
    which resulted in LRA cycling when LRA tried to use different move
    alternatives with SSE/general regs and memory.  The patch rejects to
    inherit such (non-uniform) classes to prevent cycling.

    gcc/ChangeLog:

            PR target/118017
            * lra-constraints.cc (inherit_reload_reg): Check reg class on
uniformity.

    gcc/testsuite/ChangeLog:

            PR target/118017
            * gcc.target/i386/pr118017.c: New.

Reply via email to