Commit 62036819 by Bernd Schmidt Committed by Bernd Schmidt

postreload.c (reload_combine_recognize_const_pattern): Move test for limiting…

postreload.c (reload_combine_recognize_const_pattern): Move test for limiting the insn movement to the right scope.

	* postreload.c (reload_combine_recognize_const_pattern): Move test
	for limiting the insn movement to the right scope.

From-SVN: r162550
parent 8b84c596
2010-07-27 Bernd Schmidt <bernds@codesourcery.com>
* postreload.c (reload_combine_recognize_const_pattern): Move test
for limiting the insn movement to the right scope.
2010-07-26 Richard Henderson <rth@redhat.com> 2010-07-26 Richard Henderson <rth@redhat.com>
PR target/44132 PR target/44132
......
...@@ -955,8 +955,8 @@ reload_combine_recognize_const_pattern (rtx insn) ...@@ -955,8 +955,8 @@ reload_combine_recognize_const_pattern (rtx insn)
&& reg_state[clobbered_regno].real_store_ruid >= use_ruid) && reg_state[clobbered_regno].real_store_ruid >= use_ruid)
break; break;
/* Avoid moving a use of ADDREG past a point where it gcc_assert (reg_state[regno].store_ruid <= use_ruid);
is stored. */ /* Avoid moving a use of ADDREG past a point where it is stored. */
if (reg_state[REGNO (addreg)].store_ruid >= use_ruid) if (reg_state[REGNO (addreg)].store_ruid >= use_ruid)
break; break;
...@@ -1033,10 +1033,10 @@ reload_combine_recognize_const_pattern (rtx insn) ...@@ -1033,10 +1033,10 @@ reload_combine_recognize_const_pattern (rtx insn)
} }
} }
} }
/* If we get here, we couldn't handle this use. */
if (must_move_add)
break;
} }
/* If we get here, we couldn't handle this use. */
if (must_move_add)
break;
} }
while (use); while (use);
......
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