From 5e2a2198b73965444e9ec654db2e79b407211ec8 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 11 Apr 2020 09:04:52 +0200 Subject: [PATCH] codegen tests: add link to LLVM FileCheck docs --- src/tests/intro.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/intro.md b/src/tests/intro.md index a81255dec..fd0e50c83 100644 --- a/src/tests/intro.md +++ b/src/tests/intro.md @@ -36,6 +36,8 @@ details. - `debuginfo` – tests that run in gdb or lldb and query the debug info - `codegen` – tests that compile and then test the generated LLVM 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 to make sure LLVM target backend can handle provided code. - `mir-opt` – tests that check parts of the generated MIR to make