PATCH for purge_addressof sluggishness

Richard Henderson rth@cygnus.com
Mon Mar 22 20:15:00 GMT 1999


On Mon, Mar 22, 1999 at 08:03:39PM -0800, Mark Mitchell wrote:
> But, my thinking was that we might be able to index only those REGs
> that are actually used in ADDRESSOF.

My first thought was that was what you were probably doing, but it's
not actually written that way at the moment.

Certainly you could do a three pass scheme -- look for addressof, look
for pseudo uses, convert addressof.  That would probably minimize memory
usage for only a little extra work.

> Agreed.  Let's assume I'll correct this nit, and convert the
> hash-table to an varray.  OK to put that in?

Yes.


r~


More information about the Gcc-patches mailing list