llvm-project/llvm/test/CodeGen/MIR/AMDGPU/invalid-frame-index-invalid-fixed-stack.mir
Jay Foad fee17b3a96
[AMDGPU] Remove most uses of /dev/null in tests (#156630)
Using options like -filetype=null instead should allow tools to save
some work by not generating any output.
2025-09-03 16:39:29 +01:00

18 lines
601 B
YAML

# RUN: not llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs %s -filetype=null 2>&1 | FileCheck %s
---
name: invalid_scavenge_fi
stack:
- { id: 0, name: '', type: spill-slot, offset: 0, size: 16, alignment: 4, stack-id: noalloc }
- { id: 1, name: '', type: spill-slot, offset: 16, size: 16, alignment: 4, stack-id: noalloc }
- { id: 2, name: '', type: spill-slot, offset: 32, size: 16, alignment: 4, stack-id: noalloc }
machineFunctionInfo:
# CHECK: [[@LINE+1]]:17: invalid fixed frame index 2
scavengeFI: '%fixed-stack.2'
body: |
bb.0:
S_ENDPGM 0
...