<div dir="ltr">So you do turn on pre-inlining in the experiment? Yes if preinlining is on, there might be mismatching issues for comdat functions. Rong has plan to address that -- i.e, partial privatizing comdat functions according to their CFG hash. In other words, for all copies of a comdat func that have the same inlinings (therefore same cfg hash), they will share same linkage name (modified from the original name).<div><br></div><div>Rong can help you check in the patch once he reviewed it.</div><div><br></div><div>David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 9:45 PM, Jake VanAdrighem <span dir="ltr"><<a href="mailto:jvanadrighem@gmail.com" target="_blank">jvanadrighem@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 dir="ltr">Great, if possible Sean or David could you commit this for me? I don't have commit access.<div><br></div><div>As for your question. Sean and I have actually experienced warnings resulting from a difference in inlining choices in different TU's but we will definitely be bringing this up very soon as a separate discussion. These flags were mostly to deal with `instrprof_error::unknown_function` which for our use case tends to be pretty spammy but not very helpful.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 9:37 PM, David Li <span dir="ltr"><<a href="mailto:davidxl@google.com" target="_blank">davidxl@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">davidxl accepted this revision.<br>
davidxl added a comment.<br>
This revision is now accepted and ready to land.<br>
<br>
lgtm.<br>
<br>
Question : do you get warnings when there is no source change? This indicates some potential bugs in compiler. If you see them, can you help file bugs?<br>
<div><div><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D20195" rel="noreferrer" target="_blank">http://reviews.llvm.org/D20195</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>