Re: Remove splay tree form ipa-reference.c

2019-10-11 Thread Richard Biener
On Thu, Oct 10, 2019 at 9:25 PM Jan Hubicka wrote: > > Hi, > ipa-reference uses splay tree to map DECL_UIDs to trees. On other > places we use hash-maps which are more sutiable. A simple hash-table/jhash-set does it as well if the UID is the same as DECL_UID. You can use the tree_decl_hash hash-

Remove splay tree form ipa-reference.c

2019-10-10 Thread Jan Hubicka
Hi, ipa-reference uses splay tree to map DECL_UIDs to trees. On other places we use hash-maps which are more sutiable. Bootstrapped/regtested x86_64-linux, comitted. Honza * ipa-reference.c: Do not include splay-tree.h (reference_vars_to_consider): Turn to hash map. (get_