MIR Serialization: Change MIR syntax - use custom syntax for MBBs.
[oota-llvm.git] / test / CodeGen / MIR / X86 / expected-subregister-after-colon.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 zeroext i1 @t(i1 %c) {
6   entry:
7     ret i1 %c
8   }
9
10 ...
11 ---
12 name:            t
13 isSSA:           true
14 tracksRegLiveness: true
15 registers:
16   - { id: 0, class: gr32 }
17   - { id: 1, class: gr8 }
18   - { id: 2, class: gr8 }
19 body: |
20   bb.0.entry:
21     %0 = COPY %edi
22     ; CHECK: [[@LINE+1]]:20: expected a subregister index after ':'
23     %1 = COPY %0 : 42
24     %2 = AND8ri %1, 1, implicit-def %eflags
25     %al = COPY %2
26     RETQ %al
27 ...