Skip to content

Commit d594d9f

Browse files
committed
[AMDGPU] Add a RUN line to test the OSABI-PAL-ERR prefix
1 parent 70748dc commit d594d9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: llvm-mc -triple amdgcn-amd-amdpal -mcpu=gfx802 %s | FileCheck --check-prefix=OSABI-PAL %s
66
// RUN: llvm-mc -triple amdgcn-amd-amdpal -mcpu=iceland %s | FileCheck --check-prefix=OSABI-PAL %s
77
// RUN: not llvm-mc -triple amdgcn-amd-unknown -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=OSABI-UNK-ERR %s
8+
// RUN: not llvm-mc -triple amdgcn-amd-amdpal -mcpu=gfx803 %s 2>&1 | FileCheck --check-prefix=OSABI-PAL-ERR %s
89

910
// OSABI-PAL: .amd_amdgpu_isa "amdgcn-amd-amdpal--gfx802"
1011
// OSABI-UNK-ERR: error: target id must match options

0 commit comments

Comments
 (0)