[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx9-vop2be-literal.s
blobd1c7a759385a98f681b53ad45661cca51ed4c0d3
1 // RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck -check-prefix=GFX9-ERR --implicit-check-not=error: %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)