[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
Tue Jun 20 12:18:08 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1d0f4a86855b: [Docs] Update llvm-test-suite PGO instructions to use LLVM IR PGO by (authored by mingmingl).
Repository:
rG LLVM Github Monorepo
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.533013.patch
Type: text/x-patch
Size: 657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230620/65f5ce5d/attachment.bin>
More information about the llvm-commits
mailing list