MIR Serialization: Change MIR syntax - use custom syntax for MBBs.
[oota-llvm.git] / test / CodeGen / MIR / X86 / expected-virtual-register-in-functions-livein.mir
1 # RUN: not llc -march=x86-64 -start-after machine-sink -stop-after machine-sink -o /dev/null %s 2>&1 | FileCheck %s
2
3 --- |
4
5   define i32 @test(i32 %a) {
6   body:
7     ret i32 %a
8   }
9
10 ...
11 ---
12 name:            test
13 isSSA:           true
14 tracksRegLiveness: true
15 registers:
16   - { id: 0, class: gr32 }
17 liveins:
18   # CHECK: [[@LINE+1]]:34: expected a virtual register
19   - { reg: '%edi', virtual-reg: '%edi' }
20 body: |
21   bb.0.body:
22     liveins: %edi
23
24     %0 = COPY %edi
25     %eax = COPY %0
26     RETQ %eax
27 ...