[llvm] [llvm][docs] Two small improvements to llvm-test-suite doc (PR #139083)

Tarun Prabhu via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 07:15:54 PDT 2025


================
@@ -85,9 +86,10 @@ MicroBenchmarks/XRay microbenchmarks, you need to add `compiler-rt` to your
    PASS: test-suite :: MultiSource/Applications/ALAC/encode/alacconvert-encode.test (2 of 474)
    ...
    ```
-**NOTE!** even in the case you only want to get the compile-time results(code size, llvm stats etc),
-you need to run the test with the above `llvm-lit` command. In that case, the *results.json* file will
-contain compile-time metrics.
+**NOTE!** even in the case you only want to get the compile-time results
+(`-DTEST_SUITE_RUN_BENCHMARKS=OFF`, to get code size, llvm stats etc),
+you need to run the test with the above `llvm-lit` command. In that case,
----------------
tarunprabhu wrote:

A slight tweak to the ordering of the text with a link to the configuration options section seems a bit clearer to me. What do you think?

(the syntax to link to a section may not be correct in the suggestion below )

```suggestion
**NOTE!** even in the case you only want to get the compile-time results -
code size, llvm stats etc. - by setting `-DTEST_SUITE_RUN_BENCHMARKS=OFF`
(more details [here](#Common Configuration Options))
you need to run the test with the above `llvm-lit` command. In that case,
```

https://github.com/llvm/llvm-project/pull/139083


More information about the llvm-commits mailing list