This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] cselib_invalidate_regno performance
- From: Richard Henderson <rth at redhat dot com>
- To: "David S. Miller" <davem at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, bernds at redhat dot com, law at redhat dot com
- Date: Mon, 20 May 2002 20:10:25 -0700
- Subject: Re: [PATCH] cselib_invalidate_regno performance
- References: <20020520.185011.67508661.davem@redhat.com>
On Mon, May 20, 2002 at 06:50:11PM -0700, David S. Miller wrote:
> * cselib.c (max_value_regs): New.
> (cselib_lookup, cselib_invalidate_regno): Initialize it when
> adding new entries to the REG_VALUES table and we are dealing with
> a hard register.
> (clear_table): Initialize it.
> (cselib_invalidate_regno): Use it to determine which hard
> registers to scan when mode is not VOIDmode.
Looks good.
r~