[PATCH] D18622: Replace the use of MaxFunctionCount module flag

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 14:19:29 PDT 2016


eraman created this revision.
eraman added a reviewer: vsk.
eraman added subscribers: davidxl, llvm-commits.

This provides a convenient way to get ProfileSummary for a module and use the maximum function count from the profile summary instead of calling getMaximumFunctionCount. The getMaximumFunctionCount is not removed in this patch and will be done in a later patch.

http://reviews.llvm.org/D18622

Files:
  include/llvm/ProfileData/ProfileCommon.h
  lib/Analysis/InlineCost.cpp
  lib/ProfileData/ProfileSummary.cpp
  test/Transforms/Inline/inline-cold-callee.ll
  test/Transforms/Inline/inline-hot-callee.ll
  unittests/ProfileData/CMakeLists.txt
  unittests/ProfileData/ProfileSummaryTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18622.52122.patch
Type: text/x-patch
Size: 12760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160330/bd50a4cf/attachment.bin>


More information about the llvm-commits mailing list