xref: /llvm-project/llvm/test/MC/AMDGPU/gfx9-vop2be-literal.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck -check-prefix=GFX9-ERR --implicit-check-not=error: %s
2
3v_addc_co_u32_e32 v3, vcc, 12345, v3, vcc
4// GFX9-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand (violates constant bus restrictions)
5
6v_cndmask_b32 v0, 12345, v1, vcc
7// GFX9-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand (violates constant bus restrictions)
8