30 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 store i32 %a, ptr %b8 %c = load i32, ptr %b9 ret i32 %c10 }11 12...13---14name: test15tracksRegLiveness: true16registers:17 - { id: 0, class: gr32 }18frameInfo:19 maxAlignment: 420stack:21 - { id: 0, name: b, size: 4, alignment: 4 }22body: |23 bb.0.entry:24 %0 = COPY $edi25 ; CHECK: [[@LINE+1]]:13: use of undefined stack object '%stack.2'26 MOV32mr %stack.2, 1, _, 0, _, %027 $eax = COPY %028 RET64 $eax29...30