[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / MIR / AMDGPU / mfi-scratch-wave-offset-reg-class.mir
blob8e765ba01e32b2f2b279749e7350a17a4bace913
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'
5 ---
6 name: wrong_reg_class_scratch_wave_offset_reg
7 machineFunctionInfo:
8   scratchWaveOffsetReg:  '$vgpr0'
9 body:             |
10   bb.0:
12     S_ENDPGM
13 ...