https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109052
--- Comment #8 from CVS 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:e9910e002d610db6e08230583c2976c9a557131b commit r13-6959-ge9910e002d610db6e08230583c2976c9a557131b Author: Vladimir N. Makarov <vmaka...@redhat.com> Date: Fri Mar 31 11:04:44 2023 -0400 LRA: Implement commutative operands exchange for combining secondary memory reload and original insn The patch implements trying commutative operands exchange for combining secondary memory reload and original insn. PR rtl-optimization/109052 gcc/ChangeLog: * lra-constraints.cc: (combine_reload_insn): New function. gcc/testsuite/ChangeLog: * gcc.target/i386/pr109052-2.c: New.