Add README describing the intention of test/CodeGen/MIR
authorMatthias Braun <matze@braunis.de>
Fri, 9 Dec 2016 20:16:12 +0000 (20:16 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 9 Dec 2016 20:16:12 +0000 (20:16 +0000)
llvm-svn: 289265

llvm/test/CodeGen/MIR/README [new file with mode: 0644]

diff --git a/llvm/test/CodeGen/MIR/README b/llvm/test/CodeGen/MIR/README
new file mode 100644 (file)
index 0000000..72e5540
--- /dev/null
@@ -0,0 +1,7 @@
+This directory contains tests for the MIR file format parser and printer. It
+was necessary to split the tests across different targets as no single target
+covers all features available in machine IR.
+
+Tests for codegen passes should NOT be here but in test/CodeGen/sometarget. As
+a rule of thumb this directory should only contain tests using
+'llc -run-pass none'.