[PATCH] D152745: [Docs] Update llvm-test-suite PGO instructions to use LLVM IR PGO by default
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 14:11:54 PDT 2023
mingmingl updated this revision to Diff 530664.
mingmingl retitled this revision from "[Docs]Mention DTEST_SUITE_USE_IR_PGO O explicitly for LLLVM IR PGO in llvm-test-suite PGO testing" to "[Docs] Update llvm-test-suite PGO instructions to use LLVM IR PGO by default".
mingmingl edited the summary of this revision.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152745/new/
https://reviews.llvm.org/D152745
Files:
llvm/docs/TestSuiteGuide.md
Index: llvm/docs/TestSuiteGuide.md
===================================================================
--- llvm/docs/TestSuiteGuide.md
+++ llvm/docs/TestSuiteGuide.md
@@ -336,8 +336,9 @@
Example:
```bash
-# Profile generation run:
+# Profile generation run using LLVM IR PGO:
% cmake -DTEST_SUITE_PROFILE_GENERATE=ON \
+ -DTEST_SUITE_USE_IR_PGO=ON \
-DTEST_SUITE_RUN_TYPE=train \
../test-suite
% make
@@ -351,6 +352,8 @@
% llvm-lit -o result.json .
```
+To use Clang frontend's PGO instead of LLVM IR PGO, set `-DTEST_SUITE_USE_IR_PGO=OFF`.
+
The `TEST_SUITE_RUN_TYPE` setting only affects the SPEC benchmark suites.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152745.530664.patch
Type: text/x-patch
Size: 657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230612/6ba35a19/attachment.bin>
More information about the llvm-commits
mailing list