[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / smrd-err.s
blob5017a1ac59e3ac1450e90f4f14553ed082fe8ab9
1 // RUN: llvm-mc -arch=amdgcn -mcpu=tahiti %s | FileCheck -check-prefix=SI %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=NOVI --implicit-check-not=error: %s
4 s_load_dwordx4 s[100:103], s[2:3], s4
5 // NOVI: error: register not available on this GPU
6 // SI: s_load_dwordx4 s[100:103], s[2:3], s4
8 s_load_dwordx8 s[96:103], s[2:3], s4
9 // NOVI: error: register not available on this GPU
10 // SI: s_load_dwordx8 s[96:103], s[2:3], s4
12 s_load_dwordx16 s[88:103], s[2:3], s4
13 // NOVI: error: register not available on this GPU
14 // SI: s_load_dwordx16 s[88:103], s[2:3], s4