mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 11:17:31 +00: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
11 lines
411 B
ArmAsm
11 lines
411 B
ArmAsm
// RUN: not llvm-mc -arch r600 %s 2>&1 | FileCheck --check-prefix=R600 %s
|
|
|
|
// R600: error: .amd_amdgpu_isa directive is not available on non-amdgcn architectures
|
|
.amd_amdgpu_isa "r600"
|
|
|
|
// R600: error: .amd_amdgpu_hsa_metadata directive is not available on non-amdhsa OSes
|
|
.amd_amdgpu_hsa_metadata
|
|
|
|
// R600: error: .amd_amdgpu_pal_metadata directive is not available on non-amdpal OSes
|
|
.amd_amdgpu_pal_metadata
|