1# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2--- |
3
4  define i32 @test(i32 %a) {
5  entry:
6    %b = alloca i32
7    %0 = alloca i32
8    store i32 %a, i32* %b
9    store i32 2, i32* %0
10    %c = load i32, i32* %b
11    ret i32 %c
12  }
13
14...
15---
16name:            test
17tracksRegLiveness: true
18registers:
19  - { id: 0, class: gr32 }
20  - { id: 1, class: gr32 }
21frameInfo:
22  maxAlignment:    4
23fixedStack:
24  - { id: 0, offset: 0, size: 4, isImmutable: true, isAliased: false }
25stack:
26  - { id: 0, name: b, size: 4, alignment: 4 }
27  - { id: 1, size: 4, alignment: 4 }
28body: |
29  bb.0.entry:
30    ; CHECK: [[@LINE+1]]:18: use of undefined fixed stack object '%fixed-stack.11'
31    %0 = MOV32rm %fixed-stack.11, 1, _, 0, _
32    MOV32mr %stack.0, 1, _, 0, _, %0
33    MOV32mi %stack.1, 1, _, 0, _, 2
34    %1 = MOV32rm %stack.0, 1, _, 0, _
35    $eax = COPY %1
36    RETL $eax
37...
38