1 # RUN: llc -run-pass none -o - %s | FileCheck %s
2 # This test ensures that the MIR parser parses machine frame info properties
7 define i32 @test(i32 %a) {
15 define i32 @test2(i32 %a) {
26 tracksRegLiveness: true
29 # CHECK-NEXT: isFrameAddressTaken: false
30 # CHECK-NEXT: isReturnAddressTaken: false
31 # CHECK-NEXT: hasStackMap: false
32 # CHECK-NEXT: hasPatchPoint: false
33 # CHECK-NEXT: stackSize: 0
34 # CHECK-NEXT: offsetAdjustment: 0
35 # Note: max alignment can be target specific when printed.
36 # CHECK-NEXT: maxAlignment:
37 # CHECK-NEXT: adjustsStack: false
38 # CHECK-NEXT: hasCalls: false
39 # CHECK-NEXT: stackProtector: ''
40 # CHECK-NEXT: functionContext: ''
41 # CHECK-NEXT: maxCallFrameSize:
42 # CHECK-NEXT: cvBytesOfCalleeSavedRegisters: 0
43 # CHECK-NEXT: hasOpaqueSPAdjustment: false
44 # CHECK-NEXT: hasVAStart: false
45 # CHECK-NEXT: hasMustTailInVarArgFunc: false
46 # CHECK-NEXT: hasTailCall: false
47 # CHECK-NEXT: isCalleeSavedInfoValid: false
48 # CHECK-NEXT: localFrameSize: 0
49 # CHECK-NEXT: savePoint: ''
50 # CHECK-NEXT: restorePoint: ''
59 tracksRegLiveness: true
61 - { id: 0, offset: -40, size: 8, alignment: 8 }
65 # CHECK-NEXT: isFrameAddressTaken: true
66 # CHECK-NEXT: isReturnAddressTaken: true
67 # CHECK-NEXT: hasStackMap: true
68 # CHECK-NEXT: hasPatchPoint: true
69 # CHECK-NEXT: stackSize: 4
70 # CHECK-NEXT: offsetAdjustment: 4
71 # Note: max alignment can be target specific when printed.
72 # CHECK-NEXT: maxAlignment:
73 # CHECK-NEXT: adjustsStack: true
74 # CHECK-NEXT: hasCalls: true
75 # CHECK-NEXT: stackProtector: ''
76 # CHECK-NEXT: functionContext: '%stack.0'
77 # CHECK-NEXT: maxCallFrameSize: 4
78 # CHECK-NEXT: cvBytesOfCalleeSavedRegisters: 8
79 # CHECK-NEXT: hasOpaqueSPAdjustment: true
80 # CHECK-NEXT: hasVAStart: true
81 # CHECK-NEXT: hasMustTailInVarArgFunc: true
82 # CHECK-NEXT: hasTailCall: true
85 isFrameAddressTaken: true
86 isReturnAddressTaken: true
94 functionContext: '%stack.0'
96 cvBytesOfCalleeSavedRegisters: 8
97 hasOpaqueSPAdjustment: true
100 hasMustTailInVarArgFunc: true