1 # RUN: llc -march=x86-64 -run-pass none -o - %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" }
22 # CHECK-NEXT: - { id: 0, type: spill-slot, offset: 0, size: 4, alignment: 4, stack-id: 0,
23 # CHECK-NEXT: callee-saved-register: '', callee-saved-restored: true, debug-info-variable: '',
24 # CHECK-NEXT: debug-info-expression: '', debug-info-location: '' }
26 - { id: 0, type: spill-slot, offset: 0, size: 4, alignment: 4 }
28 - { id: 0, offset: -12, size: 4, alignment: 4 }
31 MOV32mr $rsp, 1, _, -4, _, $edi