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][4.4] Add a global DECL_UID -> tree mapping


On Sat, Feb 23, 2008 at 12:46 AM, Diego Novillo <dnovillo@google.com> wrote:
> On 2/22/08 2:00 PM, Andrew MacLeod wrote:
>
>  > This oughta fix the odd compile time hit we have when the hash table
>  > doesn't perform well too eh? I remember looking at something a few weeks
>  > ago where most of the operand scan time (which was needlessly excessive)
>  > was almost all in referenced_var hash table lookups.  getting rid of
>  > that hash lookup is a good thing.

Though we replace it with a hash lookup on the global table.

>  Indeed.  I like this change quite a bit.  Thanks for working on this
>  Richard.

It might also prove useful for IPA analysis where you now can track vars
with just their UIDs (rather than function + UID).

Richard.


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