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 b315ce5219
commit f9b673309f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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