Re: Enable inlining into thunks

2016-05-16 Thread Jan Hubicka
> On 05/16/2016 12:22 AM, Jan Hubicka wrote: > > Hi, > > this patch teach inliner to inline into thunks. This is easy to do - all we > > need > > is to produce a gimple body when we decide to do so. This fixes some ages > > old xfails > > and enables some 40k inlines in Firefox. Not all those inl

Re: Enable inlining into thunks

2016-05-16 Thread Martin Liška
On 05/16/2016 12:22 AM, Jan Hubicka wrote: > Hi, > this patch teach inliner to inline into thunks. This is easy to do - all we > need > is to produce a gimple body when we decide to do so. This fixes some ages old > xfails > and enables some 40k inlines in Firefox. Not all those inlines are win,

Enable inlining into thunks

2016-05-15 Thread Jan Hubicka
Hi, this patch teach inliner to inline into thunks. This is easy to do - all we need is to produce a gimple body when we decide to do so. This fixes some ages old xfails and enables some 40k inlines in Firefox. Not all those inlines are win, because the codst model of thunks is wrong. We need to