1 # RUN: llc -march=x86 -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
2 # This test ensures that the MIR parser parses fixed stack objects correctly.
6 define i32 @test(i32 %a) #0 {
10 %c = load i32, i32* %b
14 attributes #0 = { "no-frame-pointer-elim"="false" }
23 # CHECK-NEXT: - { id: 0, offset: 0, size: 4, alignment: 4, isImmutable: true, isAliased: false }
25 - { id: 0, offset: 0, size: 4, alignment: 4, isImmutable: true, isAliased: false }
27 - { id: 0, offset: -8, size: 4, alignment: 4 }
30 %eax = MOV32rm %esp, 1, _, 8, _
31 MOV32mr %esp, 1, _, 0, _, %eax