llvm-project/llvm/test/CodeGen/MIR/Generic/machine-basic-block-ir-bloc...

18 lines
278 B
YAML

# RUN: llc -run-pass none -o - %s | FileCheck %s
# This test ensures that the MIR parser preserves unnamed LLVM IR block
# references.
--- |
define i32 @foo() {
ret i32 0
}
...
---
name: foo
body: |
; CHECK: bb.0 (%ir-block.0):
bb.0 (%ir-block.0):
...