Skip to content
Snippets Groups Projects
Commit 57688950 authored by Vladimir N. Makarov's avatar Vladimir N. Makarov
Browse files

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.
parent daf20b4b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment