This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Loop IV info patch 2
- To: Michael Hayes <mhayes at redhat dot com>
- Subject: Re: Loop IV info patch 2
- From: Richard Henderson <rth at redhat dot com>
- Date: Sun, 31 Dec 2000 15:24:06 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <14926.58461.363647.791352@taniwha.paradise.net.nz>
On Sun, Dec 31, 2000 at 08:46:37PM +1300, Michael Hayes wrote:
> * loop.h (struct iv): New.
> (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
> (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
> 'reg_biv_class' fields with 'regs' and 'n_regs'.
> * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
> * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
Ok.
r~