Commit 5c75f60e by Clinton Popetz Committed by Clinton Popetz

loop.c (check_dbra_loop): When checking a loop for reversability...

	* loop.c (check_dbra_loop): When checking a loop for
	reversability, check the source of any stores to ensure
	they don't depend on an initial value.

From-SVN: r31569
parent 62bfd50d
2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
* loop.c (check_dbra_loop): When checking a loop for
reversability, check the source of any stores to ensure
they don't depend on an initial value.
2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
......
......@@ -8042,7 +8042,7 @@ check_dbra_loop (loop, insn_count)
{
if (v->giv_type == DEST_REG
&& reg_mentioned_p (v->dest_reg,
XEXP (loop_store_mems, 0))
PATTERN (first_loop_store_insn))
&& loop_insn_first_p (first_loop_store_insn, v->insn))
reversible_mem_store = 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