[PATCH] D153730: [NFC] Generalize llvm-profgen message to cover both AutoFDO and CSSPGO

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 25 16:40:13 PDT 2023


wenlei created this revision.
wenlei added reviewers: hoy, wlei.
Herald added a subscriber: modimo.
Herald added a project: All.
wenlei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Update llvm-profgen profile density message to cover both AutoFDO and CSSPGO.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153730

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
@@ -183,7 +183,7 @@
                             "set too low. Please check your command.\n";
   else if (Density < HotFunctionDensityThreshold)
     WithColor::warning()
-        << "AutoFDO is estimated to optimize better with "
+        << "Sample PGO is estimated to optimize better with "
         << format("%.1f", HotFunctionDensityThreshold / Density)
         << "x more samples. Please consider increasing sampling rate or "
            "profiling for longer duration to get more samples.\n";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153730.534382.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230625/0b9eb320/attachment.bin>


More information about the llvm-commits mailing list