Re: [RFC][PATCH] Clean up of histogram allocation and release.

2018-08-09 Thread Martin Liška
Ok, so I discussed that with Honza, the patch does not make sense any longer. Reason is that histograms are used in RTL expansion in order to provide hint for memcpy, memset-like operations. Please ignore the patch. Martin

[RFC][PATCH] Clean up of histogram allocation and release.

2018-08-01 Thread Martin Liška
Hi. Attempt of the patch is to remove all histograms right after "profile_estimate" pass. Then nobody should use them. That will simplify code we'll not need verification and currently we leaked some histograms till the end of compilation. Patch can bootstrap on x86_64-linux-gnu and survives regr