Commit bc08aefe by Richard Henderson Committed by Richard Henderson

ia64.c (spill_restore_mem): Handle emitting the first insn in a sequence.

        * config/ia64/ia64.c (spill_restore_mem): Handle emitting
        the first insn in a sequence.

From-SVN: r35772
parent 49982682
2000-08-17 Richard Henderson <rth@cygnus.com>
* config/ia64/ia64.c (spill_restore_mem): Handle emitting
the first insn in a sequence.
Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
* alias.c (true_dependence, write_dependence_p): A read
......
......@@ -1398,8 +1398,14 @@ spill_restore_mem (reg, cfa_off)
spill_fill_data.init_after
= emit_insn_after (seq, spill_fill_data.init_after);
else
spill_fill_data.init_after
= emit_insn_before (seq, get_insns ());
{
rtx first = get_insns ();
if (first)
spill_fill_data.init_after
= emit_insn_before (seq, first);
else
spill_fill_data.init_after = emit_insn (seq);
}
}
mem = gen_rtx_MEM (GET_MODE (reg), spill_fill_data.iter_reg[iter]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment