Commit f4b31a33 by Bernd Schmidt Committed by Bernd Schmidt

function.c (thread_prologue_and_epilogue_insns): Emit split prologue on the orig_entry_edge.

	* function.c (thread_prologue_and_epilogue_insns): Emit split
	prologue on the orig_entry_edge. Don't account for it in
	prologue_clobbered.

From-SVN: r179627
parent 69d2aade
2011-10-06 Bernd Schmidt <bernds@codesourcery.com>
* function.c (thread_prologue_and_epilogue_insns): Emit split
prologue on the orig_entry_edge. Don't account for it in
prologue_clobbered.
2011-10-06 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/50596
......@@ -5602,10 +5602,6 @@ thread_prologue_and_epilogue_insns (void)
note_stores (PATTERN (p_insn), record_hard_reg_sets,
&prologue_clobbered);
}
for (p_insn = split_prologue_seq; p_insn; p_insn = NEXT_INSN (p_insn))
if (NONDEBUG_INSN_P (p_insn))
note_stores (PATTERN (p_insn), record_hard_reg_sets,
&prologue_clobbered);
bitmap_initialize (&bb_antic_flags, &bitmap_default_obstack);
bitmap_initialize (&bb_on_list, &bitmap_default_obstack);
......@@ -5758,7 +5754,7 @@ thread_prologue_and_epilogue_insns (void)
if (split_prologue_seq != NULL_RTX)
{
insert_insn_on_edge (split_prologue_seq, entry_edge);
insert_insn_on_edge (split_prologue_seq, orig_entry_edge);
inserted = true;
}
if (prologue_seq != NULL_RTX)
......
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