This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Loop regs cleanup patch
- To: Michael Hayes <mhayes at redhat dot com>
- Subject: Re: Loop regs cleanup patch
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 4 Jan 2001 19:05:18 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <14933.8422.864490.783572@taniwha.paradise.net.nz>
On Fri, Jan 05, 2001 at 02:18:30PM +1300, Michael Hayes wrote:
> * loop.h (struct loop_reg): New.
> (struct loop_regs): Change to use array of `struct loop_reg'.
> * loop.c: Replace assortment of varrays with single regs array.
> (count_one_set): Delete may_not_move array argument
> and use regs array instead. All caller's changed.
> (count_loop_regs_set): Delete may_not_move and single_usage
> arguments and use regs array instead. All caller's changed.
> (find_single_use_in_loop): Replace usage array argument with pointer
> to regs structure. All caller's changed.
> (loop_optimize): Delete `moved_once' array.
Ok.
r~