[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
Fri Jul 28 15:25:31 PDT 2017


danielcdh created this revision.
Herald added subscribers: mehdi_amini, sanjoy.

For SamplePGO, we already record the callsite count in the call instruction itself. So we do not want to use BFI to get profile count as it is less accurate.


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.108722.patch
Type: text/x-patch
Size: 7403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170728/9c218a0e/attachment.bin>


More information about the llvm-commits mailing list