This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] cselib_invalidate_regno performance


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]