llvm-project/llvm/test/CodeGen/MIR/machine-basic-block-redefin...

18 lines
291 B
YAML

# RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
--- |
define i32 @foo() {
entry:
ret i32 0
}
...
---
name: foo
body:
# CHECK: redefinition of machine basic block with id #0
- id: 0
- id: 0
...