[PATCH] D32877: Restrict call metadata based hotness detection to Sample PGO mode

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 16:33:26 PDT 2017


tejohnson updated this revision to Diff 98560.
tejohnson added a comment.

Update patch now that getProfileCount is not static. This greatly simplified
the code changes, but required adjusting a few more tests which needed
profile summary metadata.


https://reviews.llvm.org/D32877

Files:
  lib/Analysis/ProfileSummaryInfo.cpp
  test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
  test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
  test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll
  test/Transforms/CodeGenPrepare/section-samplepgo.ll
  test/Transforms/CodeGenPrepare/section.ll
  test/Transforms/Inline/function-count-update-2.ll
  test/Transforms/Inline/function-count-update-3.ll
  test/Transforms/Inline/function-count-update.ll
  test/Transforms/Inline/prof-update.ll
  unittests/Analysis/ProfileSummaryInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32877.98560.patch
Type: text/x-patch
Size: 16247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170510/19e18276/attachment.bin>


More information about the llvm-commits mailing list