<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Nov 7, 2018 at 9:13 AM David Li via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">davidxl added inline comments.<br>
<br>
<br>
================<br>
Comment at: lib/Transforms/Instrumentation/PGOInstrumentation.cpp:1485<br>
       continue;<br>
+    if (AllZeros) {<br>
+      if (Func.getProgramMaxCount() != 0)<br>
----------------<br>
Is function entry annotated ?<br></blockquote><div>You are right. Entry should be annotated. I will update the patch.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="https://reviews.llvm.org/D54212" rel="noreferrer" target="_blank">https://reviews.llvm.org/D54212</a><br>
<br>
<br>
<br>
</blockquote></div></div>