summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir')
-rw-r--r--llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir b/llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir
new file mode 100644
index 00000000000..80cea5a6fda
--- /dev/null
+++ b/llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir
@@ -0,0 +1,9 @@
+# RUN: llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
+# This test ensures that the MIR parser accepts files without the LLVM IR.
+
+---
+# CHECK: name: foo
+name: foo
+body:
+ - id: 0
+...
OpenPOWER on IntegriCloud