xref: /llvm-project/llvm/test/MC/AMDGPU/elf-notes-verify-r600.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1// RUN: not llvm-mc -triple=r600 %s 2>&1 | FileCheck --check-prefix=R600 %s
2
3// R600: :[[@LINE+1]]:{{[0-9]+}}: error: .amd_amdgpu_isa directive is not available on non-amdgcn architectures
4.amd_amdgpu_isa "r600"
5
6// R600: :[[@LINE+1]]:{{[0-9]+}}: error: .amd_amdgpu_hsa_metadata directive is not available on non-amdhsa OSes
7.amd_amdgpu_hsa_metadata
8
9// R600: :[[@LINE+1]]:{{[0-9]+}}: error: .amd_amdgpu_pal_metadata directive is not available on non-amdpal OSes
10.amd_amdgpu_pal_metadata
11