Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / literal16-err.s
blob7eb228015bb53c2bab0cc70b6672c06ee0471821
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=NOVI --implicit-check-not=error: %s
3 v_add_f16 v1, 0xfffff, v2
4 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
6 v_add_f16 v1, 0x10000, v2
7 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
9 v_add_f16 v1, 0xffffffffffff000f, v2
10 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
12 v_add_f16 v1, 0x1000ffff, v2
13 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
15 v_add_f16 v1, -32769, v2
16 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
18 v_add_f16 v1, 65536, v2
19 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
21 v_add_f32 v1, 4294967296, v2
22 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
24 v_add_f32 v1, 0x0000000100000000, v2
25 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
27 v_and_b32 v1, 0x0000000100000000, v2
28 // NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction