llvm-project/llvm/test/CodeGen/MIR/X86/missing-instruction.mir

20 lines
344 B
YAML

# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
--- |
define void @foo() {
entry:
ret void
}
...
---
name: foo
body:
- id: 0
name: entry
instructions:
# CHECK: [[@LINE+1]]:9: expected a machine instruction
- ''
...