re PR rtl-optimization/11320 (Scheduler bug)

PR rtl-optimization/11320
	* config/ia64/ia64.md (load_symptr_low): Show a MEM.
	* config/ia64/ia64.c (ia64_expand_load_address): Generate it.

From-SVN: r176280
This commit is contained in:
Bernd Schmidt 2011-07-14 17:06:33 +00:00 committed by Bernd Schmidt
parent 0c7e607dfc
commit 1f88caaae1
3 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,11 @@
2011-07-14 Bernd Schmidt <bernds@codesourcery.com>
PR rtl-optimization/11320
* config/ia64/ia64.md (load_symptr_low): Show a MEM.
* config/ia64/ia64.c (ia64_expand_load_address): Generate it.
2011-07-14 Georg-Johann Lay <avr@gjlay.de>
PR target/49487
* config/avr/avr.md (rotl<mode>3): Generate SCRATCH instead
of REG.

View File

@ -1047,7 +1047,7 @@ ia64_expand_load_address (rtx dest, rtx src)
tmp = gen_rtx_PLUS (Pmode, tmp, pic_offset_table_rtx);
emit_insn (gen_rtx_SET (VOIDmode, dest, tmp));
tmp = gen_rtx_LO_SUM (Pmode, dest, src);
tmp = gen_rtx_LO_SUM (Pmode, gen_const_mem (Pmode, dest), src);
emit_insn (gen_rtx_SET (VOIDmode, dest, tmp));
if (addend)

View File

@ -777,7 +777,7 @@
(define_insn "*load_symptr_low"
[(set (match_operand:DI 0 "register_operand" "=r")
(lo_sum:DI (match_operand:DI 1 "register_operand" "r")
(lo_sum:DI (mem:DI (match_operand:DI 1 "register_operand" "r"))
(match_operand 2 "got_symbolic_operand" "s")))]
"reload_completed"
{