AMDGPU: Add sdst operand to VOP2b instructions
[oota-llvm.git] / test / MC / AMDGPU / vop2-err.s
index a1131000a9095969deb3bccf6c34044aa8ed975e..47d7d5bbecbd3a9f9e692e9b6dcabac7049c2782 100644 (file)
@@ -32,4 +32,7 @@ v_mul_i32_i24_e64 v1, 100, v3
 v_mul_i32_i24_e64 v1, v2, 100
 // CHECK: error: invalid operand for instruction
 
+v_add_i32_e32 v1, s[0:1], v2, v3
+// CHECK: error: invalid operand for instruction
+
 // TODO: Constant bus restrictions