MIR Serialization: Initial serialization of the machine memory operands.
[oota-llvm.git] / test / CodeGen / MIR / X86 / expected-comma-after-memory-operand.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 void @test(i32* %a) {
6   entry2:
7     %b = load i32, i32* %a
8     %c = add i32 %b, 1
9     store i32 %c, i32* %a
10     ret void
11   }
12
13 ...
14 ---
15 name:            test
16 tracksRegLiveness: true
17 liveins:
18   - { reg: '%rdi' }
19 body:
20   - id:          0
21     name:        entry2
22     liveins:     [ '%rdi' ]
23     instructions:
24 # CHECK: [[@LINE+1]]:92: expected ',' before the next machine memory operand
25       - 'INC32m killed %rdi, 1, _, 0, _, implicit-def dead %eflags :: (store 4 into %ir.a) (load 4 from %ir.a)'
26       - RETQ
27 ...