MIR Serialization: Change MIR syntax - use custom syntax for MBBs.
[oota-llvm.git] / test / CodeGen / MIR / X86 / spill-slot-fixed-stack-object-aliased.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) #0 {
6   entry:
7     %b = alloca i32
8     store i32 %a, i32* %b
9     %c = load i32, i32* %b
10     ret i32 %c
11   }
12
13   attributes #0 = { "no-frame-pointer-elim"="false" }
14
15 ...
16 ---
17 name:            test
18 frameInfo:
19   maxAlignment:    4
20 fixedStack:
21   # CHECK: [[@LINE+1]]:63: unknown key 'isAliased'
22   - { id: 0, type: spill-slot, offset: 0, size: 4, isAliased: true }
23 stack:
24   - { id: 0, offset: -12, size: 4, alignment: 4 }
25 body: |
26   bb.0.entry:
27     MOV32mr %rsp, 1, _, -4, _, %edi
28     %eax = COPY %edi
29     RETQ %eax
30 ...