(check_dbra_loop): Fix error in previous change.

From-SVN: r6316
This commit is contained in:
Richard Kenner 1993-12-25 12:37:10 -05:00
parent 9e69be8c65
commit 0c847d7db5
1 changed files with 3 additions and 1 deletions

View File

@ -5731,7 +5731,9 @@ check_dbra_loop (loop_end, insn_count, loop_start)
case, the insn should have been moved out of the loop. */
if (num_mem_sets == 1)
reversible_mem_store = ! invariant_p (XEXP (loop_store_mems[0], 0));
reversible_mem_store
= (! unknown_address_altered
&& ! invariant_p (XEXP (loop_store_mems[0], 0)));
/* This code only acts for innermost loops. Also it simplifies
the memory address check by only reversing loops with