<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 2, 2021 at 1:04 PM Rong Xu <<a href="mailto:xur@google.com">xur@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 1, 2021 at 4:43 PM Wei Mi via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">wmi added a comment.<br>
<br>
In D95823#2535255 <<a href="https://reviews.llvm.org/D95823#2535255" rel="noreferrer" target="_blank">https://reviews.llvm.org/D95823#2535255</a>>, @xur wrote:<br>
<br>
> Machine level profile loader will use the SampleCoverage Tracker. This<br>
> class will be kept in the templated header. Machine level profile loader<br>
> and IR level profile loader will be using the exactly the same class (not<br>
> templatelized).<br>
<br>
I see. During profile annotation in machine IR level, for FunctionSamples only using base discriminator, will they be used for annotation again or their annotation will be skipped? I am asking because I am wondering what the coverage report will look like for SampleCoverageTracker used in machine IR.<br></blockquote><div>Discriminator change will be in a later patch. When I introduce the Machine level sample loader, I will add new fields in SampleProfileLoader that specify discriminator bits being used. SampleCovergeTracker does not need to know the bits -- samples will be handled in FunctionSamples level (i.e. in SampleProfileLoader).</div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:"times new roman",serif">Ok, thanks. </div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D95823/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D95823/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D95823" rel="noreferrer" target="_blank">https://reviews.llvm.org/D95823</a><br>
<br>
</blockquote></div></div>
</blockquote></div></div>