[llvm] d594d9f - [AMDGPU] Add a RUN line to test the OSABI-PAL-ERR prefix

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 02:18:45 PDT 2024


Author: Jay Foad
Date: 2024-06-20T10:17:58+01:00
New Revision: d594d9f7f4dc6eb748b3261917db689fdc348b96

URL: https://github.com/llvm/llvm-project/commit/d594d9f7f4dc6eb748b3261917db689fdc348b96
DIFF: https://github.com/llvm/llvm-project/commit/d594d9f7f4dc6eb748b3261917db689fdc348b96.diff

LOG: [AMDGPU] Add a RUN line to test the OSABI-PAL-ERR prefix

Added: 
    

Modified: 
    llvm/test/MC/AMDGPU/isa-version-pal.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/AMDGPU/isa-version-pal.s b/llvm/test/MC/AMDGPU/isa-version-pal.s
index 9b97c3d0d3e0b..eb7b5d21647c5 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


        


More information about the llvm-commits mailing list