[PATCH] cselib_invalidate_regno performance

Richard Henderson rth@redhat.com
Mon May 20 20:23:00 GMT 2002


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~



More information about the Gcc-patches mailing list