MIR Serialization: Change MIR syntax - use custom syntax for MBBs.
[oota-llvm.git] / test / CodeGen / MIR / X86 / expected-from-in-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 i32 @test(i32* %a) {
6   entry:
7     %b = load i32, i32* %a
8     ret i32 %b
9   }
10
11 ...
12 ---
13 name:            test
14 tracksRegLiveness: true
15 liveins:
16   - { reg: '%rdi' }
17 body: |
18   bb.0.entry:
19     liveins: %rdi
20   ; CHECK: [[@LINE+1]]:55: expected 'from'
21     %eax = MOV32rm killed %rdi, 1, _, 0, _ :: (load 4 %ir.a)
22     RETQ %eax
23 ...
24