Re: [google] With FDO/LIPO inline some cold callsites

2011-08-23 Thread Xinliang David Li
The patch makes sense as inlining cold callsites can sharpen analysis in the hot caller leading to more aggressive optimization. Ok for google branch. Thanks, David On Tue, Aug 23, 2011 at 12:56 PM, Mark Heffernan wrote: > The following patch changes the inliner callsite filter with FDO/LIPO.

[google] With FDO/LIPO inline some cold callsites

2011-08-23 Thread Mark Heffernan
The following patch changes the inliner callsite filter with FDO/LIPO. Previously, cold callsites were unconditionally rejected. Now the callsite may still be inlined if the _caller_ is sufficiently hot (max count of any bb in the function is above hot threshold). This gives about 0.5 - 1% geome