Re: Reduce global decl stream

2015-12-11 Thread Jan Hubicka
> On Fri, 11 Dec 2015, Jan Hubicka wrote: > > > Hi, > > this patch saves about 30% of global decl stream size in firefox. While > > implementing the lto sections for initializers I put very stupid heursitcs > > to get_symbol_initial_value deciding whether the initializer is better > > streamed >

Re: Reduce global decl stream

2015-12-11 Thread Richard Biener
On Fri, 11 Dec 2015, Jan Hubicka wrote: > Hi, > this patch saves about 30% of global decl stream size in firefox. While > implementing the lto sections for initializers I put very stupid heursitcs > to get_symbol_initial_value deciding whether the initializer is better > streamed > inline or off

Reduce global decl stream

2015-12-10 Thread Jan Hubicka
Hi, this patch saves about 30% of global decl stream size in firefox. While implementing the lto sections for initializers I put very stupid heursitcs to get_symbol_initial_value deciding whether the initializer is better streamed inline or offline. This ignores strings and may get bit out of han