<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 2:53 PM, Manman Ren <span dir="ltr"><<a href="mailto:manman.ren@gmail.com" target="_blank">manman.ren@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4ns" style="overflow:hidden">Author: mren<br>
Date: Wed Feb  5 16:53:44 2014<br>
New Revision: 200886<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=200886&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=200886&view=rev</a><br>
Log:<br>
Inliner uses a smaller inline threshold for callees with cold attribute.<br>
<br>
Added command line option inlinecold-threshold to set threshold for inlining<br>
functions with cold attribute. Listen to the cold attribute when it would<br>
decrease the inline threshold.</div></blockquote></div><br>You've not gotten any discussion about this or presented any benchmark numbers for this what-so-ever.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
The cold attribute is widely used already and this may have a very dramatic impact. I don't think it is really acceptable to just land a patch that could have such a far reaching impact without even a decent discussion or some benchmark numbers to ensure this doesn't regress things.</div>
</div>