[PATCH] Fix up ipa_vr_ggc_hash_traits::hash

2018-02-23 Thread Jakub Jelinek
Hi! ipa_vr_ggc_hash_traits::equal does return a->type == b->type && a->min == b->min && a->max == b->max; so it requires pointer identical type (5 value enum) and min/max, hopefully only INTEGER_CSTs. Honza complained on IRC that during firefox a lot of time is spent in this hash table, probabl

Re: [PATCH] Fix up ipa_vr_ggc_hash_traits::hash

2018-02-23 Thread Richard Biener
On February 23, 2018 6:06:51 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >ipa_vr_ggc_hash_traits::equal does > return a->type == b->type && a->min == b->min && a->max == b->max; >so it requires pointer identical type (5 value enum) and min/max, >hopefully only INTEGER_CSTs. Honza complained on IR