[PATCH][?/n] Cleanup LTO type merging

H.J. Lu hjl.tools@gmail.com
Tue May 17 03:13:00 GMT 2011


On Mon, May 16, 2011 at 7:17 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> The following patch improves hashing types by re-instantiating the
> patch that makes us visit aggregate target types of pointers and
> function return and argument types.  This halves the collision
> rate on the type hash table for a linux-kernel build and improves
> WPA compile-time from 3mins to 1mins and reduces memory usage by
> 1GB for that testcase.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, SPEC2k6
> build-tested.
>
> Richard.
>
> (patch is reversed)
>
> 2011-05-16  Richard Guenther  <rguenther@suse.de>
>
>        * gimple.c (iterative_hash_gimple_type): Re-instantiate
>        change to always visit pointer target and function result
>        and argument types.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49013


H.J.



More information about the Gcc-patches mailing list