1 # RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # CHECK: :8:33: incorrect register class for field
3 # CHECK: scratchWaveOffsetReg: '$vgpr0'
6 name: wrong_reg_class_scratch_wave_offset_reg
8 scratchWaveOffsetReg: '$vgpr0'