[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:36:35 PDT 2017


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

Refactor the code after talking to Easwaran (Thanks!): Move the logic to IsCallsiteCold.


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.109474.patch
Type: text/x-patch
Size: 9145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170803/7a02492f/attachment.bin>


More information about the llvm-commits mailing list