Avoid reversing bivs with maybe_multiple set.

From-SVN: r30929
This commit is contained in:
Bernd Schmidt 1999-12-14 19:54:41 +00:00 committed by Bernd Schmidt
parent a120a3bd97
commit 6979065c16
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* loop.c (check_dbra_loop): Can't reverse a biv that has
maybe_multiple set.
1999-12-14 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.c: Add support for -mcpu=arm720 command line

View File

@ -7953,6 +7953,7 @@ check_dbra_loop (loop_end, insn_count, loop_start, loop_info)
for (bl = loop_iv_list; bl; bl = bl->next)
{
if (bl->biv_count == 1
&& ! bl->biv->maybe_multiple
&& bl->biv->dest_reg == XEXP (comparison, 0)
&& ! reg_used_between_p (regno_reg_rtx[bl->regno], bl->biv->insn,
first_compare))