llvm.org GIT mirror llvm / a5e8c70 test / MC / AMDGPU / sopc-err.s
a5e8c70

Tree @a5e8c70 (Download .tar.gz)

sopc-err.s @a5e8c70raw · history · blame

// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=VI %s

s_set_gpr_idx_on s0, s1
// GCN: error: invalid operand for instruction

s_set_gpr_idx_on s0, 16
// GCN: error: invalid operand for instruction

s_set_gpr_idx_on s0, -1
// GCN: error: invalid operand for instruction