[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / regression / bug28538.s
blobd5633ed272da893c10f5f3cdec8836b06b6587ab
1 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck %s --check-prefix=NOVI --implicit-check-not=error:
2 // RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck %s --check-prefix=NOSICI --implicit-check-not=error:
3 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck %s --check-prefix=NOSICI --implicit-check-not=error:
4 // RUN: not llvm-mc -arch=amdgcn -mcpu=bonaire %s 2>&1 | FileCheck %s --check-prefix=NOSICI --implicit-check-not=error:
6 // NOSICI: error: not a valid operand.
7 // NOVI: error: invalid row_bcast value
8 v_mov_b32 v0, v0 row_bcast:0
10 // NOSICI: error: not a valid operand.
11 // NOVI: error: invalid row_bcast value
12 v_mov_b32 v0, v0 row_bcast:13