[PATCH] D41461: Add hasProfileData() to check if a function has profile data. NFC.

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 09:40:05 PST 2017


When we add the synthetic counts, I do plan to change hasProfileData to
return true only if the counts are from profile and not synthetically
generated.

On Wed, Dec 20, 2017 at 2:17 PM, David Li via Phabricator <
reviews at reviews.llvm.org> wrote:

> davidxl added a comment.
>
> I prefer hasProfileData to be hasRealProfileData -- unless we want to make
> hasProfileData to mean has real profile data and ignores synthetic entry
> count later.
>
>
> https://reviews.llvm.org/D41461
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171221/04ca0686/attachment.html>


More information about the llvm-commits mailing list