mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
fd75ed74e2
- Do not allow amd_amdgpu_isa directives on non-amdgcn architectures - Do not allow amd_amdgpu_hsa_metadata on non-amdhsa OSes - Do not allow amd_amdgpu_pal_metadata on non-amdpal OSes Differential Revision: https://reviews.llvm.org/D38750 llvm-svn: 315812
8 lines
299 B
ArmAsm
8 lines
299 B
ArmAsm
// RUN: not llvm-mc -arch amdgcn %s 2>&1 | FileCheck --check-prefix=GCN %s
|
|
|
|
// GCN: error: .amd_amdgpu_hsa_metadata directive is not available on non-amdhsa OSes
|
|
.amd_amdgpu_hsa_metadata
|
|
|
|
// GCN: error: .amd_amdgpu_pal_metadata directive is not available on non-amdpal OSes
|
|
.amd_amdgpu_pal_metadata
|