[PATCH] D127330: [CSSPGO][Preinliner] Set default value of sample-profile-inline-limit-max to 3000

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 12:10:24 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7d293744a89a: [CSSPGO][Preinliner] Set default value of sample-profile-inline-limit-max to… (authored by hoy).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127330/new/

https://reviews.llvm.org/D127330

Files:
  llvm/tools/llvm-profgen/CSPreInliner.cpp


Index: llvm/tools/llvm-profgen/CSPreInliner.cpp
===================================================================
--- llvm/tools/llvm-profgen/CSPreInliner.cpp
+++ llvm/tools/llvm-profgen/CSPreInliner.cpp
@@ -69,6 +69,8 @@
     SampleHotCallSiteThreshold = 1500;
   if (!SampleColdCallSiteThreshold.getNumOccurrences())
     SampleColdCallSiteThreshold = 0;
+  if (!ProfileInlineLimitMax.getNumOccurrences())
+    ProfileInlineLimitMax = 3000;
 }
 
 std::vector<StringRef> CSPreInliner::buildTopDownOrder() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127330.435286.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220608/b6d21acc/attachment.bin>


More information about the llvm-commits mailing list