Commit 2b701ab7 by Richard Henderson Committed by Richard Henderson

loop.c (check_dbra_loop): Fix last change: examine both has_multiple_exit_targets and exit_count.

        * loop.c (check_dbra_loop): Fix last change: examine both
        has_multiple_exit_targets and exit_count.

From-SVN: r48404
parent c81f560b
2001-12-30 Richard Henderson <rth@redhat.com> 2001-12-30 Richard Henderson <rth@redhat.com>
* loop.c (check_dbra_loop): Fix last change: examine both
has_multiple_exit_targets and exit_count.
2001-12-30 Richard Henderson <rth@redhat.com>
* integrate.c (copy_rtx_and_substitute): Fix error last change: * integrate.c (copy_rtx_and_substitute): Fix error last change:
we need to unconditionally create a new mem. we need to unconditionally create a new mem.
......
...@@ -7977,7 +7977,9 @@ check_dbra_loop (loop, insn_count) ...@@ -7977,7 +7977,9 @@ check_dbra_loop (loop, insn_count)
which is reversible. */ which is reversible. */
int reversible_mem_store = 1; int reversible_mem_store = 1;
if (bl->giv_count == 0 && ! loop_info->has_multiple_exit_targets) if (bl->giv_count == 0
&& !loop->exit_count
&& !loop_info->has_multiple_exit_targets)
{ {
rtx bivreg = regno_reg_rtx[bl->regno]; rtx bivreg = regno_reg_rtx[bl->regno];
struct iv_class *blt; struct iv_class *blt;
......
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