aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-06-20 10:17:58 +0100
committerJay Foad <jay.foad@amd.com>2024-06-20 10:17:58 +0100
commitd594d9f7f4dc6eb748b3261917db689fdc348b96 (patch)
tree674aa8728d37d5bf4cd390528ce0a5840c300a2a
parent70748dcbe0ab48a1d9e4609fe73dfb9ab5ad36c1 (diff)
downloadllvm-d594d9f7f4dc6eb748b3261917db689fdc348b96.zip
llvm-d594d9f7f4dc6eb748b3261917db689fdc348b96.tar.gz
llvm-d594d9f7f4dc6eb748b3261917db689fdc348b96.tar.bz2
[AMDGPU] Add a RUN line to test the OSABI-PAL-ERR prefix
-rw-r--r--llvm/test/MC/AMDGPU/isa-version-pal.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/MC/AMDGPU/isa-version-pal.s b/llvm/test/MC/AMDGPU/isa-version-pal.s
index 9b97c3d..eb7b5d2 100644
--- a/llvm/test/MC/AMDGPU/isa-version-pal.s
+++ b/llvm/test/MC/AMDGPU/isa-version-pal.s
@@ -5,6 +5,7 @@
// RUN: llvm-mc -triple amdgcn-amd-amdpal -mcpu=gfx802 %s | FileCheck --check-prefix=OSABI-PAL %s
// RUN: llvm-mc -triple amdgcn-amd-amdpal -mcpu=iceland %s | FileCheck --check-prefix=OSABI-PAL %s
// RUN: not llvm-mc -triple amdgcn-amd-unknown -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=OSABI-UNK-ERR %s
+// RUN: not llvm-mc -triple amdgcn-amd-amdpal -mcpu=gfx803 %s 2>&1 | FileCheck --check-prefix=OSABI-PAL-ERR %s
// OSABI-PAL: .amd_amdgpu_isa "amdgcn-amd-amdpal--gfx802"
// OSABI-UNK-ERR: error: target id must match options