[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx7_err_pos.s
blob531c75084831e84cb9a169cc7aeba30d9d333618
1 // RUN: not llvm-mc -arch=amdgcn -mcpu=bonaire %s 2>&1 | FileCheck %s --implicit-check-not=error: --strict-whitespace
3 //==============================================================================
4 // d16 modifier is not supported on this GPU
6 image_gather4 v[5:6], v1, s[8:15], s[12:15] dmask:0x1 d16
7 // CHECK: error: d16 modifier is not supported on this GPU
8 // CHECK-NEXT:{{^}}image_gather4 v[5:6], v1, s[8:15], s[12:15] dmask:0x1 d16
9 // CHECK-NEXT:{{^}} ^
11 //==============================================================================
12 // integer clamping is not supported on this GPU
14 v_add_co_u32 v84, s[4:5], v13, v31 clamp
15 // CHECK: error: integer clamping is not supported on this GPU
16 // CHECK-NEXT:{{^}}v_add_co_u32 v84, s[4:5], v13, v31 clamp
17 // CHECK-NEXT:{{^}} ^
19 //==============================================================================
20 // literal operands are not supported
22 v_and_b32_e64 v0, 0.159154943091895317852646485335, v1
23 // CHECK: error: literal operands are not supported
24 // CHECK-NEXT:{{^}}v_and_b32_e64 v0, 0.159154943091895317852646485335, v1
25 // CHECK-NEXT:{{^}} ^