xref: /llvm-project/llvm/test/MC/AMDGPU/gfx11_asm_ldsdir_err.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX11 %s
2
3lds_param_load v17, attr33.x
4// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
5
6lds_param_load v17, attr33.y
7// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
8
9lds_param_load v17, attr33.z
10// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
11
12lds_param_load v17, attr33.w
13// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
14
15lds_param_load v12, attr33.z wait_va_vdst:4
16// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
17
18lds_param_load v12, attr33.w wait_va_vdst:2 wait_vm_vsrc:1
19// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
20
21