Commit 44b94bdb by Vladimir Makarov Committed by Vladimir Makarov

lra-constraints.c (update_ebb_live_info): Process empty blocks.

2012-10-23  Vladimir Makarov  <vmakarov@redhat.com>

	* lra-constraints.c (update_ebb_live_info): Process empty blocks.

From-SVN: r192743
parent b8ab7fc8
2012-10-23 Vladimir Makarov <vmakarov@redhat.com>
* lra-constraints.c (update_ebb_live_info): Process empty blocks.
2012-10-23 Richard Sandiford <rdsandiford@googlemail.com> 2012-10-23 Richard Sandiford <rdsandiford@googlemail.com>
* expmed.c (store_split_bit_field): Update the calls to * expmed.c (store_split_bit_field): Update the calls to
...@@ -4300,8 +4300,6 @@ update_ebb_live_info (rtx head, rtx tail) ...@@ -4300,8 +4300,6 @@ update_ebb_live_info (rtx head, rtx tail)
curr_insn = prev_insn) curr_insn = prev_insn)
{ {
prev_insn = PREV_INSN (curr_insn); prev_insn = PREV_INSN (curr_insn);
if (! INSN_P (curr_insn))
continue;
curr_bb = BLOCK_FOR_INSN (curr_insn); curr_bb = BLOCK_FOR_INSN (curr_insn);
if (curr_bb != prev_bb) if (curr_bb != prev_bb)
{ {
...@@ -4336,7 +4334,7 @@ update_ebb_live_info (rtx head, rtx tail) ...@@ -4336,7 +4334,7 @@ update_ebb_live_info (rtx head, rtx tail)
prev_bb = curr_bb; prev_bb = curr_bb;
bitmap_and (&live_regs, &check_only_regs, df_get_live_out (curr_bb)); bitmap_and (&live_regs, &check_only_regs, df_get_live_out (curr_bb));
} }
if (DEBUG_INSN_P (curr_insn)) if (! NONDEBUG_INSN_P (curr_insn))
continue; continue;
curr_id = lra_get_insn_recog_data (curr_insn); curr_id = lra_get_insn_recog_data (curr_insn);
remove_p = false; remove_p = false;
......
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