<div dir="ltr">Thanks!<div><br></div><div>-- Sean Silva</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 29, 2016 at 2:53 PM, Xinliang David Li via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: davidxl<br>
Date: Tue Mar 29 16:53:08 2016<br>
New Revision: 264792<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=264792&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=264792&view=rev</a><br>
Log:<br>
Fix comment in test<br>
<br>
Modified:<br>
    compiler-rt/trunk/test/profile/instrprof-value-prof.c<br>
<br>
Modified: compiler-rt/trunk/test/profile/instrprof-value-prof.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-value-prof.c?rev=264792&r1=264791&r2=264792&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-value-prof.c?rev=264792&r1=264791&r2=264792&view=diff</a><br>
==============================================================================<br>
--- compiler-rt/trunk/test/profile/instrprof-value-prof.c (original)<br>
+++ compiler-rt/trunk/test/profile/instrprof-value-prof.c Tue Mar 29 16:53:08 2016<br>
@@ -90,9 +90,12 @@ int main(int argc, const char *argv[]) {<br>
   qsort(CallerInfos, sizeof(CallerInfos) / sizeof(CallerInfo), sizeof(CallerInfo),<br>
         cmpaddr);<br>
<br>
-  /* We will synthesis value profile data for 128 callers functions.<br>
-   * The number of * value sites. The number values for each value site<br>
-   * ranges from 0 to 8.  */<br>
+  /* We will synthesis value profile data for 128 callers functions declared.<br>
+   * The number of value sites for each caller function is recorded in<br>
+   * the NS field of the CallerInfo object. For each value site, the number of<br>
+   * callee values is determined by the site index (modulo 8). The frequency<br>
+   * of each callee target synthesized is equal to V + 1, in which V is the<br>
+   * index of the target value for the callsite. */<br>
<br>
   Data = __llvm_profile_begin_data();<br>
   DataEnd = __llvm_profile_end_data();<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>