Re: Make ipa-reference bitmaps dense

2019-10-23 Thread Jan Hubicka
> On Wed, Oct 23, 2019 at 08:20:12PM +0200, Jan Hubicka wrote: > > Hi, > > this is variant of patch I comitted. It additionally register variable > > removal hook to be sure that we do not mix up the static variable for > > some other decl allocated later. > > > > Bootstrapped/regtested x86_64 >

Re: Make ipa-reference bitmaps dense

2019-10-23 Thread Jakub Jelinek
On Wed, Oct 23, 2019 at 08:20:12PM +0200, Jan Hubicka wrote: > Hi, > this is variant of patch I comitted. It additionally register variable > removal hook to be sure that we do not mix up the static variable for > some other decl allocated later. > > Bootstrapped/regtested x86_64 This doesn't bu

Re: Make ipa-reference bitmaps dense

2019-10-23 Thread Jan Hubicka
Hi, this is variant of patch I comitted. It additionally register variable removal hook to be sure that we do not mix up the static variable for some other decl allocated later. Bootstrapped/regtested x86_64 Honza 2019-10-13 Jan Hubicka * ipa-reference.h (ipa_reference_var_uid): Mov

Make ipa-reference bitmaps dense

2019-10-13 Thread Jan Hubicka
Hi, this patch makes ipa-reference to assign sequential IDS to the static variables to make bitmaps more dense. DECL_UID is not very good choice since at WPA time just very small percentage of DECLs are static vars. The memory use for ipa-reference bitmaps after patch is 83MB compared to 197MB befo