forked from OSchip/llvm-project
14 lines
324 B
Plaintext
14 lines
324 B
Plaintext
|
# RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
||
|
# CHECK: :8:33: incorrect register class for field
|
||
|
# CHECK: scratchWaveOffsetReg: '$vgpr0'
|
||
|
|
||
|
---
|
||
|
name: wrong_reg_class_scratch_wave_offset_reg
|
||
|
machineFunctionInfo:
|
||
|
scratchWaveOffsetReg: '$vgpr0'
|
||
|
body: |
|
||
|
bb.0:
|
||
|
|
||
|
S_ENDPGM
|
||
|
...
|