Skip to content

Commit 451a80c

Browse files
authored
[docs] Mention ffmpeg and dav1d in llvm-test-suite (#120570)
Since llvm/llvm-test-suite#182 and llvm/llvm-test-suite#188, these projects can now be added as external projects within llvm-test-suite.
1 parent e4db3f0 commit 451a80c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

llvm/docs/TestSuiteGuide.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,19 @@ For the SPEC benchmarks you can switch between the `test`, `train` and
367367
`ref` input datasets via the `TEST_SUITE_RUN_TYPE` configuration option.
368368
The `train` dataset is used by default.
369369

370+
In addition to SPEC, the multimedia frameworks ffmpeg and dav1d can also
371+
be hooked up as external projects in the same way. By including them in
372+
llvm-test-suite, a lot more of potentially vectorizable code gets compiled
373+
- which can catch compiler bugs merely by triggering code generation asserts.
374+
Including them also adds small code correctness tests, that compare the
375+
output of the compiler generated functions against handwritten assembly
376+
functions. (On x86, building the assembly requires having the nasm tool
377+
available.) The integration into llvm-test-suite doesn't run the projects'
378+
full testsuites though. The projects also contain microbenchmarks for
379+
measuring the performance of some functions. See the `README.md` files in
380+
the respective `ffmpeg` and `dav1d` directories under
381+
`llvm-test-suite/External` for further details.
382+
370383

371384
Custom Suites
372385
-------------

0 commit comments

Comments
 (0)