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

--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Vlad's recent commit looks like a promising candidate though:

commit 57688950b9328cbb4a9c21eb3199f9132b5119d3
Author:     Vladimir N. Makarov <vmaka...@redhat.com>
AuthorDate: Fri Mar 17 08:58:58 2023 -0400
Commit:     Vladimir N. Makarov <vmaka...@redhat.com>
CommitDate: Fri Mar 17 09:07:20 2023 -0400

    LRA: Implement combining secondary memory reload and original insn

    LRA creates secondary memory reload insns but do not try to combine it
    with the original insn.  This patch implements a simple insn combining
    for such cases in LRA.

            PR rtl-optimization/109052

    gcc/ChangeLog:

            * lra-constraints.cc: Include hooks.h.
            (combine_reload_insn): New function.
            (lra_constraints): Call it.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr109052.c: New.

I'm building with the commit before this to see whether we succeed or not.

Reply via email to