diff --git a/llvm/docs/TestSuiteGuide.md b/llvm/docs/TestSuiteGuide.md --- a/llvm/docs/TestSuiteGuide.md +++ b/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.