[PATCH][LTO] Speed up gimple_type_hash

Diego Novillo dnovillo@google.com
Thu Jul 16 16:16:00 GMT 2009


On Thu, Jul 16, 2009 at 09:54, Richard Guenther<rguenther@suse.de> wrote:

> 2009-07-16  Richard Guenther  <rguenther@suse.de>
>
>        * gimple.c (iterative_hash_gimple_type): Remove the level argument,
>        add a stack argument for tracking cycles.
>        Query the pointer-map with the pre-computed hashes and update it
>        for types not in a cycle.
>        (gimple_type_hash): Assign all types in a cycle the same hash value.

OK.  Thanks for speeding this up.


Diego.



More information about the Gcc-patches mailing list