Commit 01007ae0 by Eric Botcazou Committed by Eric Botcazou

reorg.c (fill_simple_delay_slots): Reindent block of code.

	* reorg.c (fill_simple_delay_slots): Reindent block of code.
	* resource.c (mark_target_live_regs): Reformat conditional block.

From-SVN: r197949
parent da98a6a1
2013-04-14 Eric Botcazou <ebotcazou@adacore.com>
* reorg.c (fill_simple_delay_slots): Reindent block of code.
* resource.c (mark_target_live_regs): Reformat conditional block.
2013-04-13 Steven Bosscher <steven@gcc.gnu.org> 2013-04-13 Steven Bosscher <steven@gcc.gnu.org>
* sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn * sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn
......
...@@ -2167,8 +2167,7 @@ fill_simple_delay_slots (int non_jumps_p) ...@@ -2167,8 +2167,7 @@ fill_simple_delay_slots (int non_jumps_p)
if (JUMP_P (trial_delay)) if (JUMP_P (trial_delay))
break; break;
/* See if we have a resource problem before we try to /* See if we have a resource problem before we try to split. */
split. */
if (GET_CODE (pat) != SEQUENCE if (GET_CODE (pat) != SEQUENCE
&& ! insn_references_resource_p (trial, &set, true) && ! insn_references_resource_p (trial, &set, true)
&& ! insn_sets_resource_p (trial, &set, true) && ! insn_sets_resource_p (trial, &set, true)
...@@ -2183,12 +2182,10 @@ fill_simple_delay_slots (int non_jumps_p) ...@@ -2183,12 +2182,10 @@ fill_simple_delay_slots (int non_jumps_p)
{ {
next_trial = next_nonnote_insn (trial); next_trial = next_nonnote_insn (trial);
delay_list = add_to_delay_list (trial, delay_list); delay_list = add_to_delay_list (trial, delay_list);
#ifdef HAVE_cc0 #ifdef HAVE_cc0
if (reg_mentioned_p (cc0_rtx, pat)) if (reg_mentioned_p (cc0_rtx, pat))
link_cc0_insns (trial); link_cc0_insns (trial);
#endif #endif
delete_related_insns (trial); delete_related_insns (trial);
if (slots_to_fill == ++slots_filled) if (slots_to_fill == ++slots_filled)
break; break;
......
...@@ -990,7 +990,8 @@ mark_target_live_regs (rtx insns, rtx target, struct resources *res) ...@@ -990,7 +990,8 @@ mark_target_live_regs (rtx insns, rtx target, struct resources *res)
/* If this insn is a USE made by update_block, we care about the /* If this insn is a USE made by update_block, we care about the
underlying insn. */ underlying insn. */
if (code == INSN && GET_CODE (PATTERN (insn)) == USE if (code == INSN
&& GET_CODE (PATTERN (insn)) == USE
&& INSN_P (XEXP (PATTERN (insn), 0))) && INSN_P (XEXP (PATTERN (insn), 0)))
real_insn = XEXP (PATTERN (insn), 0); real_insn = XEXP (PATTERN (insn), 0);
......
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