1 // RUN
: not llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx700
-mattr
=-code-object-v3
%s
2>&1 | FileCheck
%s
2 // RUN
: not llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx800
-mattr
=-code-object-v3
%s
2>&1 | FileCheck
%s
3 // RUN
: not llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx900
-mattr
=-code-object-v3
%s
2>&1 | FileCheck
%s
4 // RUN
: not llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx700
-mattr
=-code-object-v3
-filetype
=obj
%s
2>&1 | FileCheck
%s
5 // RUN
: not llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx800
-mattr
=-code-object-v3
-filetype
=obj
%s
2>&1 | FileCheck
%s
6 // RUN
: not llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx900
-mattr
=-code-object-v3
-filetype
=obj
%s
2>&1 | FileCheck
%s
8 // CHECK
: error
: unknown key
'UnknownKey'
9 .amd_amdgpu_hsa_metadata
12 Printf
: [ '1:1:4:%d\n', '2:1:8:%g\n' ]
15 SymbolName
: test_kernel@kd
17 LanguageVersion
: [ 2, 0 ]
27 ValueKind
: HiddenGlobalOffsetX
31 ValueKind
: HiddenGlobalOffsetY
35 ValueKind
: HiddenGlobalOffsetZ
39 ValueKind
: HiddenPrintfBuffer
42 .end_amd_amdgpu_hsa_metadata