mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 00:49:35 +08:00
Avoid reversing bivs with maybe_multiple set.
From-SVN: r30929
This commit is contained in:
parent
a120a3bd97
commit
6979065c16
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user