[PATCH] D152745: [Docs]Mention DTEST_SUITE_USE_IR_PGO O explicitly for LLLVM IR PGO in llvm-test-suite PGO testing
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 12:38:30 PDT 2023
mingmingl created this revision.
Herald added subscribers: wlei, wenlei.
Herald added a project: All.
mingmingl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
- Currently, the default instructions will use Clang's frontend PGO feature.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152745
Files:
llvm/docs/TestSuiteGuide.md
Index: llvm/docs/TestSuiteGuide.md
===================================================================
--- llvm/docs/TestSuiteGuide.md
+++ llvm/docs/TestSuiteGuide.md
@@ -336,7 +336,7 @@
Example:
```bash
-# Profile generation run:
+# Profile generation run using clang frontend's PGO feature
% cmake -DTEST_SUITE_PROFILE_GENERATE=ON \
-DTEST_SUITE_RUN_TYPE=train \
../test-suite
@@ -351,6 +351,8 @@
% llvm-lit -o result.json .
```
+To use LLVM IR PGO instead of the clang frontend's PGO feature, set `-DTEST_SUITE_USE_IR_PGO=On`.
+
The `TEST_SUITE_RUN_TYPE` setting only affects the SPEC benchmark suites.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152745.530639.patch
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230612/d911e486/attachment.bin>
More information about the llvm-commits
mailing list