• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: 0,
8# CHECK: - { id: 1, type: spill-slot, offset: 0, size: 8, alignment: 4, stack-id: 0,
9# CHECK: - { id: 2, type: spill-slot, offset: 0, size: 16, alignment: 4, stack-id: 9,
10
11# CHECK: {{^}}stack:
12# CHECK: - { id: 0, name: '', type: spill-slot, offset: 0, size: 16,
13# CHECK-NEXT: stack-id: 3,
14
15# CHECK: - { id: 1, name: '', type: spill-slot, offset: 0, size: 8,
16# CHECK-NEXT: stack-id: 0,
17
18# CHECK: - { id: 2, name: '', type: spill-slot, offset: 0, size: 4,
19# CHECK-NEXT: stack-id: 0,
20
21
22name: spill_slot_stack_id
23fixedStack:
24  - { id: 0, type: spill-slot, offset: 0, size: 16, alignment: 4, stack-id: 9 }
25  - { id: 1, type: spill-slot, offset: 0, size: 8, alignment: 4, stack-id: 0 }
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: 3 }
29  - { id: 1, name: '', type: spill-slot, offset: 0, size: 8, alignment: 4, stack-id: 0 }
30  - { id: 2, name: '', type: spill-slot, offset: 0, size: 4, alignment: 4 }
31
32body: |
33  bb.0:
34    S_ENDPGM
35...
36