codegen tests: add link to LLVM FileCheck docs (#673)

This commit is contained in:
Ralf Jung 2020-04-11 19:34:25 +02:00 committed by GitHub
parent 620878ba6b
commit 61f246ef7c
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ details.
- `debuginfo` tests that run in gdb or lldb and query the debug info - `debuginfo` tests that run in gdb or lldb and query the debug info
- `codegen` tests that compile and then test the generated LLVM - `codegen` tests that compile and then test the generated LLVM
code to make sure that the optimizations we want are taking effect. code to make sure that the optimizations we want are taking effect.
See [LLVM docs](https://llvm.org/docs/CommandGuide/FileCheck.html) for how to
write such tests.
- `assembly` similar to `codegen` tests, but verifies assembly output - `assembly` similar to `codegen` tests, but verifies assembly output
to make sure LLVM target backend can handle provided code. to make sure LLVM target backend can handle provided code.
- `mir-opt` tests that check parts of the generated MIR to make - `mir-opt` tests that check parts of the generated MIR to make