mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
ba5e71a51e
Corrected parser to issue meaningful error messages for invalid and malformed registers. See bug 41303: https://bugs.llvm.org/show_bug.cgi?id=41303 Reviewers: arsenm, rampitec Differential Revision: https://reviews.llvm.org/D87234
15 lines
596 B
ArmAsm
15 lines
596 B
ArmAsm
// RUN: llvm-mc -arch=amdgcn -mcpu=tahiti %s | FileCheck -check-prefix=SI %s
|
|
// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=NOVI --implicit-check-not=error: %s
|
|
|
|
s_load_dwordx4 s[100:103], s[2:3], s4
|
|
// NOVI: error: register not available on this GPU
|
|
// SI: s_load_dwordx4 s[100:103], s[2:3], s4
|
|
|
|
s_load_dwordx8 s[96:103], s[2:3], s4
|
|
// NOVI: error: register not available on this GPU
|
|
// SI: s_load_dwordx8 s[96:103], s[2:3], s4
|
|
|
|
s_load_dwordx16 s[88:103], s[2:3], s4
|
|
// NOVI: error: register not available on this GPU
|
|
// SI: s_load_dwordx16 s[88:103], s[2:3], s4
|