69 lines · plain
1// RUN: not llvm-mc -triple=amdgcn %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s3 4v_interp_p1_f32 v0, v15// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction6 7v_interp_p1_f32 v0, v1, attr33.w8// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number9 10v_interp_p1_f32 v0, v1, attr33.x11// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number12 13v_interp_p2_f32 v9, v1, attr33.x14// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number15 16v_interp_p2_f32 v0, v1, attr33.x17// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: out of bounds interpolation attribute number18 19v_interp_p2_f32 v0, v1, attr0.q20// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel21 22v_interp_p2_f32 v0, v1, attr0.23// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel24 25v_interp_p2_f32 v0, v1, attr26// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel27 28v_interp_p2_f32 v0, v1, att29// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation attribute30 31v_interp_p2_f32 v0, v1, attrq32// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel33 34v_interp_p2_f32 v7, v1, attr.x35// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute number36 37v_interp_p2_f32 v7, v1, attr-1.x38// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute channel39 40v_interp_p2_f32 v7, v1, attrA.x41// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid or missing interpolation attribute number42 43v_interp_mov_f32 v11, invalid_param_3, attr0.y44// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot45 46v_interp_mov_f32 v12, invalid_param_10, attr0.x47// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot48 49v_interp_mov_f32 v3, invalid_param_3, attr0.x50// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot51 52v_interp_mov_f32 v8, invalid_param_8, attr0.x53// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot54 55v_interp_mov_f32 v8, foo, attr0.x56// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot57 58v_interp_mov_f32 v8, 0, attr0.x59// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction60 61v_interp_mov_f32 v8, -1, attr0.x62// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction63 64v_interp_mov_f32 v8, p-1, attr0.x65// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot66 67v_interp_mov_f32 v8, p1, attr0.x68// GCN: :[[@LINE-1]]:{{[0-9]+}}: error: invalid interpolation slot69