38 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2--- |3 4 define i32 @test(i32 %a) {5 entry:6 %b = alloca i327 %0 = alloca i328 store i32 %a, ptr %b9 store i32 2, ptr %010 %c = load i32, ptr %b11 ret i32 %c12 }13 14...15---16name: test17tracksRegLiveness: true18registers:19 - { id: 0, class: gr32 }20 - { id: 1, class: gr32 }21frameInfo:22 maxAlignment: 423fixedStack: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, _, %033 MOV32mi %stack.1, 1, _, 0, _, 234 %1 = MOV32rm %stack.0, 1, _, 0, _35 $eax = COPY %136 RET32 $eax37...38