MIR Serialization: Serialize the machine basic block live in registers.
[oota-llvm.git] / test / CodeGen / MIR / X86 / expected-named-register-livein.mir
1 # RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -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 body:
14   - id:          0
15     name:        body
16     # CHECK: [[@LINE+1]]:21: expected a named register
17     liveins:     [ '%0' ]
18     instructions:
19       - '%eax = COPY %edi'
20       - 'RETQ %eax'
21 ...