[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / vintrp-err.s
blob6cda6d13276b3939490fe17324cf92c91cc98973
1 // RUN: not llvm-mc -triple=amdgcn %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s
2 // RUN: not llvm-mc -triple=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s
4 v_interp_p1_f32 v0, v1
5 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction
7 v_interp_p1_f32 v0, v1, attr33.w
8 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
10 v_interp_p1_f32 v0, v1, attr33.x
11 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
13 v_interp_p2_f32 v9, v1, attr33.x
14 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
16 v_interp_p2_f32 v0, v1, attr33.x
17 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number
19 v_interp_p2_f32 v0, v1, attr0.q
20 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel
22 v_interp_p2_f32 v0, v1, attr0.
23 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel
25 v_interp_p2_f32 v0, v1, attr
26 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel
28 v_interp_p2_f32 v0, v1, att
29 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation attribute
31 v_interp_p2_f32 v0, v1, attrq
32 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel
34 v_interp_p2_f32 v7, v1, attr.x
35 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute number
37 v_interp_p2_f32 v7, v1, attr-1.x
38 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel
40 v_interp_p2_f32 v7, v1, attrA.x
41 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute number
43 v_interp_mov_f32 v11, invalid_param_3, attr0.y
44 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot
46 v_interp_mov_f32 v12, invalid_param_10, attr0.x
47 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot
49 v_interp_mov_f32 v3, invalid_param_3, attr0.x
50 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot
52 v_interp_mov_f32 v8, invalid_param_8, attr0.x
53 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot
55 v_interp_mov_f32 v8, foo, attr0.x
56 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot
58 v_interp_mov_f32 v8, 0, attr0.x
59 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
61 v_interp_mov_f32 v8, -1, attr0.x
62 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
64 v_interp_mov_f32 v8, p-1, attr0.x
65 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot
67 v_interp_mov_f32 v8, p1, attr0.x
68 // GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot