[AMDGPU] Check for immediate SrcC in mfma in AsmParser
[llvm-core.git] / test / MC / AMDGPU / gfx9-vop2be-literal.s
blobf996c4e3c0a7ea9a41e946b253956ff5ee87464b
1 # RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding < %s 2>&1 | FileCheck -check-prefix=GFX9-ERR %s
3 v_addc_co_u32_e32 v3, vcc, 12345, v3, vcc
4 // GFX9-ERR: error: invalid operand (violates constant bus restrictions)
6 v_cndmask_b32 v0, 12345, v1, vcc
7 // GFX9-ERR: error: invalid operand (violates constant bus restrictions)