[PATCH] D36025: Do not want to use BFI to get profile count for sample pgo

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 18:07:56 PDT 2017


danielcdh updated this revision to Diff 109471.
danielcdh added a comment.

updated the implementation to include a flag to control whether to return 0 or None if the profile is missing for the entire function. PTAL.


https://reviews.llvm.org/D36025

Files:
  lib/Analysis/ProfileSummaryInfo.cpp
  test/Bitcode/Inputs/thinlto-function-summary-callgraph-sample-profile-summary.ll
  test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll
  unittests/Analysis/ProfileSummaryInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36025.109471.patch
Type: text/x-patch
Size: 8858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170803/fd326ca2/attachment-0001.bin>


More information about the llvm-commits mailing list