1# RUN: llc -march=amdgcn -run-pass none -o - %s | FileCheck %s
2...
3---
4
5# CHECK-LABEL: name: spill_slot_stack_id
6# CHECK: {{^}}fixedStack:
7# CHECK: - { id: 0, type: spill-slot, offset: 0, size: 4, alignment: 4, stack-id: default,
8# CHECK: - { id: 1, type: spill-slot, offset: 0, size: 8, alignment: 4, stack-id: default,
9# CHECK: - { id: 2, type: spill-slot, offset: 0, size: 16, alignment: 4, stack-id: noalloc,
10
11# CHECK: {{^}}stack:
12# CHECK: - { id: 0, name: '', type: spill-slot, offset: 0, size: 16,
13# CHECK-NEXT: stack-id: noalloc,
14
15# CHECK: - { id: 1, name: '', type: spill-slot, offset: 0, size: 8,
16# CHECK-NEXT: stack-id: default,
17
18# CHECK: - { id: 2, name: '', type: spill-slot, offset: 0, size: 4,
19# CHECK-NEXT: stack-id: default,
20
21
22name: spill_slot_stack_id
23fixedStack:
24  - { id: 0, type: spill-slot, offset: 0, size: 16, alignment: 4, stack-id: noalloc }
25  - { id: 1, type: spill-slot, offset: 0, size: 8, alignment: 4, stack-id: default }
26  - { id: 2, type: spill-slot, offset: 0, size: 4, alignment: 4 }
27stack:
28  - { id: 0, name: '', type: spill-slot, offset: 0, size: 16, alignment: 4, stack-id: noalloc }
29  - { id: 1, name: '', type: spill-slot, offset: 0, size: 8, alignment: 4, stack-id: default }
30  - { id: 2, name: '', type: spill-slot, offset: 0, size: 4, alignment: 4 }
31
32body: |
33  bb.0:
34    S_ENDPGM 0
35...
36