• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llc -start-after branch-folder -stop-after branch-folder -o - %s | FileCheck %s
2# This test ensures that the MIR parser parses machine register info properties
3# correctly.
4
5--- |
6
7  define i32 @foo() {
8  entry:
9    ret i32 0
10  }
11
12  define i32 @bar() {
13  start:
14    ret i32 0
15  }
16
17...
18---
19# CHECK: name: foo
20# CHECK:      isSSA: false
21# CHECK-NEXT: tracksRegLiveness: false
22# CHECK-NEXT: tracksSubRegLiveness: false
23# CHECK: ...
24name:            foo
25body: |
26  bb.0:
27...
28---
29# CHECK: name: bar
30# CHECK:      isSSA: false
31# CHECK-NEXT: tracksRegLiveness: true
32# CHECK-NEXT: tracksSubRegLiveness: true
33# CHECK: ...
34name: bar
35isSSA: false
36tracksRegLiveness: true
37tracksSubRegLiveness: true
38body: |
39  bb.0:
40...
41