Re: Compute canonical type by main variants

2015-06-03 Thread Richard Biener
On Sat, 30 May 2015, Jan Hubicka wrote: > > Richard, > this patch makes canonical_type to be computed via the hash only for main > variants of types. The idea is to save some lookups because most types are > variants and should match. > > I also added sanity checking about that. > > Bootstrapp

Compute canonical type by main variants

2015-05-30 Thread Jan Hubicka
Richard, this patch makes canonical_type to be computed via the hash only for main variants of types. The idea is to save some lookups because most types are variants and should match. I also added sanity checking about that. Bootstrapped/regtested ppc-linux, OK? Honza * lto.c (iterat