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][LTO] More properly rebuild TYPE_CANONICAL


On Fri, Oct 22, 2010 at 07:54, Richard Guenther <rguenther@suse.de> wrote:

> 2010-10-22 ÂRichard Guenther Â<rguenther@suse.de>
>
> Â Â Â ÂPR lto/45586
> Â Â Â Â* gimple.h (gimple_register_canonical_type): Declare.
> Â Â Â Â* gimple.c (gimple_canonical_types): New global hashtable.
> Â Â Â Â(struct gimple_type_leader_entry_s): New type.
> Â Â Â Â(gimple_type_leader): New global cache.
> Â Â Â Â(gimple_lookup_type_leader): New function.
> Â Â Â Â(gtc_visit): Query the proper cache.
> Â Â Â Â(gimple_types_compatible_p): Likewise.
> Â Â Â Â(gimple_register_type): Use the new cache instead of TYPE_CANONICAL.
> Â Â Â Â(gimple_canonical_type_eq): New function.
> Â Â Â Â(gimple_register_canonical_type): Likewise.
> Â Â Â Â(print_gimple_types_stats): Adjust for gimple_canonical_types.
> Â Â Â Â(free_gimple_type_tables): Likewise. ÂFree gimple_type_leader.
> Â Â Â Â* tree-ssa.c (useless_type_conversion_p): Do not dispatch to
> Â Â Â Âgimple_types_compatible_p for LTO.
>
> Â Â Â Âlto/
> Â Â Â Â* lto.c (lto_fixup_type): Fixup TYPE_CANONICAL again, via
> Â Â Â Âthe new gimple_register_canonical_type.

OK.


Diego.


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