* loop.c (strength_reduce): Fix biv removal code.

From-SVN: r33344
This commit is contained in:
Jan Hubicka 2000-04-22 21:07:46 +00:00 committed by Jan Hubicka
parent 9bcbfc524a
commit 7841261c99
2 changed files with 5 additions and 13 deletions

View File

@ -1,3 +1,7 @@
Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
* loop.c (strength_reduce): Fix biv removal code.
2000-04-22 Richard Henderson <rth@cygnus.com>
* predict.c (estimate_probability): Examine both sides of

View File

@ -4160,19 +4160,7 @@ strength_reduce (loop, insn_count, unroll_p, bct_p)
INSN_LUID (p));
}
/* Remove this biv from the chain. */
if (bl->next)
{
/* We move the following giv from *bl->next into *bl.
We have to update reg_biv_class for that moved biv
to point to its new address. */
*bl = *bl->next;
reg_biv_class[bl->regno] = bl;
}
else
{
*backbl = 0;
break;
}
*backbl = bl->next;
}
/* If we can't make it a giv,