<div dir="ltr">Without this, the call to MAM.getCachedResult<ProfileSummaryAnalysis>(M) in the run method will return nullptr. The inliner doesn't fail because of this, but it effectively becomes a non-PGO inliner.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 3, 2017 at 11:49 AM, Davide Italiano via Phabricator <span dir="ltr"><<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">davide added a comment.<br>
<br>
This is reasonable. Did you get failures because the profile info weren't available in the inliner?<br>
<br>
<br>
<a href="https://reviews.llvm.org/D32768" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D32768</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>