summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/Generic/machine-basic-block-ir-block-reference.mir
blob: cf095537bebdc7880ae7e03a3749071e3fad5114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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):
...
OpenPOWER on IntegriCloud