[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / literal16-err.s
blob6a2f1eb23a4745728098677f3ba84344dda78f3e
1 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=NOVI --implicit-check-not=error: %s
3 v_add_f16 v1, 0xfffff, v2
4 // NOVI: error: invalid operand for instruction
6 v_add_f16 v1, 0x10000, v2
7 // NOVI: error: invalid operand for instruction
9 v_add_f16 v1, 0xffffffffffff000f, v2
10 // NOVI: error: invalid operand for instruction
12 v_add_f16 v1, 0x1000ffff, v2
13 // NOVI: error: invalid operand for instruction
15 v_add_f16 v1, -32769, v2
16 // NOVI: error: invalid operand for instruction
18 v_add_f16 v1, 65536, v2
19 // NOVI: error: invalid operand for instruction
21 v_add_f32 v1, 4294967296, v2
22 // NOVI: error: invalid operand for instruction
24 v_add_f32 v1, 0x0000000100000000, v2
25 // NOVI: error: invalid operand for instruction
27 v_and_b32 v1, 0x0000000100000000, v2
28 // NOVI: error: invalid operand for instruction