llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-stacksave-stackrestore.invalid.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

15 lines
433 B
YAML

# RUN: not llc -mtriple=amdgcn -mcpu=gfx1030 -run-pass=instruction-select -filetype=null %s 2>&1 | FileCheck -check-prefix=ERR %s
# ERR: LLVM ERROR: cannot select: G_STACKRESTORE %{{[0-9]+}}:vgpr(p5) (in function: stackrestore_waveaddress_vgpr)
---
name: stackrestore_waveaddress_vgpr
legalized: true
regBankSelected: true
body: |
bb.0:
%0:vgpr(p5) = G_AMDGPU_WAVE_ADDRESS $sgpr32
G_STACKRESTORE %0
...