we have no life information is not reversible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25051
138bc75d-0d04-0410-961f-
82ee72b054a4
+1999-02-05 Michael Meissner <meissner@cygnus.com>
+
+ * loop.c (check_dbra_loop): A store using an address giv for which
+ we have no life information is not reversible.
+
Fri Feb 5 17:08:01 1999 Dave Brolley <brolley@cygnus.com>
* function.c (fixup_var_refs): Scan catch_clauses too.
if (v->giv_type == DEST_REG
&& reg_mentioned_p (v->dest_reg,
XEXP (loop_store_mems, 0))
- && (INSN_LUID (v->insn)
- > INSN_LUID (first_loop_store_insn)))
+ && (INSN_UID (v->insn) >= max_uid_for_loop
+ || (INSN_LUID (v->insn)
+ > INSN_LUID (first_loop_store_insn))))
reversible_mem_store = 0;
}
}