<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sat, Oct 10, 2015 at 9:53 AM Xinliang David Li <<a href="mailto:davidxl@google.com">davidxl@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Oct 10, 2015 at 12:09 AM, Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>> wrote:<br>
> Hi Dehao,<br>
><br>
> Do you have any specific bugs for "inaccurate/lost debug info"? I haven't<br>
> seen anything and I'm curious what you might be running into.<br>
<br>
Those lost info are mostly due to optimizations (examples include code<br>
introduced by the optimizer, such as those from strength reduction,<br>
runtime condition check etc) -- not that the base debug info<br>
generation has anything wrong..<br>
<br></blockquote><div><br></div><div>Aha! Excellent. Both good to hear and I look forward (and don't look forward) to those bugs :)</div><div><br></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
David<br>
<br>
><br>
> Thanks.<br>
><br>
> -eric<br>
><br>
> On Fri, Oct 9, 2015 at 3:08 PM Dehao Chen via llvm-dev<br>
> <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
>><br>
>> With recent bug fixes and performance tunings, AutoFDO@llvm has reached a<br>
>> usable state. To evaluate performance, we used<br>
>> O3/-fprofile-use/-fprofile-sample-use respectively to optimize clang itself,<br>
>> and measure its speed.<br>
>><br>
>> clang built with -fprofile-use is ~20% faster than clang built with O3<br>
>> clang built with -fprofile-sample-use is ~10% faster than clang built with<br>
>> O3<br>
>><br>
>> AutoFDO can deliver 50% of the FDO speedup to clang. The gap is mainly due<br>
>> to inaccurate/lost debug info, which is used to represent the profile. I am<br>
>> still tuning the performance to fill in the gap.<br>
>><br>
>> During the meantime, we encourage you to try it out. Bug reports/fixes are<br>
>> always welcome. For more information about how to generate AutoFDO profile,<br>
>> please refer to <a href="https://github.com/google/autofdo" rel="noreferrer" target="_blank">https://github.com/google/autofdo</a><br>
>><br>
>> Cheers,<br>
>> Dehao<br>
>> _______________________________________________<br>
>> LLVM Developers mailing list<br>
>> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
>> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>