[PATCH] D109166: [llvm-profgen] Turn off cold context trimming by default

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 12:29:33 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa5d3cac0336b: [llvm-profgen] Turn off cold context trimming by default (authored by wenlei).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109166

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


Index: llvm/tools/llvm-profgen/ProfileGenerator.cpp
===================================================================
--- llvm/tools/llvm-profgen/ProfileGenerator.cpp
+++ llvm/tools/llvm-profgen/ProfileGenerator.cpp
@@ -46,7 +46,7 @@
              "profile."));
 
 static cl::opt<bool> CSProfTrimColdContext(
-    "csprof-trim-cold-context", cl::init(true), cl::ZeroOrMore,
+    "csprof-trim-cold-context", cl::init(false), cl::ZeroOrMore,
     cl::desc("If the total count of the profile after all merge is done "
              "is still smaller than threshold, it will be trimmed."));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109166.370364.patch
Type: text/x-patch
Size: 591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/4078a035/attachment.bin>


More information about the llvm-commits mailing list