[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AMDGPU / vintrp-err.s
blob08ab2797ce535d6a31a13b5959e262e5a95161aa
1 // RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=SI %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=VI %s
4 v_interp_p1_f32 v0, v1, attr64.w
5 // GCN: :25: error: out of bounds attr
7 v_interp_p1_f32 v0, v1, attr64.x
8 // GCN: :25: error: out of bounds attr
10 v_interp_p2_f32 v9, v1, attr64.x
11 // GCN: :25: error: out of bounds attr
13 v_interp_p2_f32 v0, v1, attr64.x
14 // GCN: :25: error: out of bounds attr
16 v_interp_p2_f32 v0, v1, attr0.q
17 // GCN: :25: error: failed parsing operand.
19 v_interp_p2_f32 v0, v1, attr0.
20 // GCN: :25: error: failed parsing operand.
22 v_interp_p2_f32 v0, v1, attr
23 // GCN: :25: error: failed parsing operand.
25 // XXX - Why does this one parse?
26 v_interp_p2_f32 v0, v1, att
27 // GCN: :25: error: invalid operand for instruction
29 v_interp_p2_f32 v0, v1, attrq
30 // GCN: :25: error: failed parsing operand.
32 v_interp_mov_f32 v11, invalid_param_3, attr0.y
33 // GCN: :23: error: failed parsing operand.
35 v_interp_mov_f32 v12, invalid_param_10, attr0.x
36 // GCN: :23: error: failed parsing operand.
38 v_interp_mov_f32 v3, invalid_param_3, attr0.x
39 // GCN: :22: error: failed parsing operand.
41 v_interp_mov_f32 v8, invalid_param_8, attr0.x
42 // GCN: :22: error: failed parsing operand.
44 v_interp_mov_f32 v8, foo, attr0.x
45 // GCN: :22: error: failed parsing operand.