1 // RUN
: llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx700
-mattr
=-code-object-v3
-show-encoding
%s | FileCheck
--check-prefix
=CHECK
--check-prefix
=GFX700
%s
2 // RUN
: llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx800
-mattr
=-code-object-v3
-show-encoding
%s | FileCheck
--check-prefix
=CHECK
--check-prefix
=GFX800
%s
3 // RUN
: llvm-mc
-triple
=amdgcn-amd-amdhsa
-mcpu
=gfx900
-mattr
=-code-object-v3
-show-encoding
%s | FileCheck
--check-prefix
=CHECK
--check-prefix
=GFX900
%s
5 // CHECK
: .amd_amdgpu_hsa_metadata
6 // CHECK
: Version
: [ 1, 0 ]
8 // CHECK
: - Name
: test_kernel
9 // CHECK
: SymbolName
: 'test_kernel@kd'
11 // CHECK
: DebuggerABIVersion
: [ 1, 0 ]
12 // CHECK
: ReservedNumVGPRs
: 4
13 // CHECK
: ReservedFirstVGPR
: 11
14 // CHECK
: PrivateSegmentBufferSGPR
: 0
15 // CHECK
: WavefrontPrivateSegmentOffsetSGPR
: 11
16 .amd_amdgpu_hsa_metadata
18 Printf
: [ '1:1:4:%d\n', '2:1:8:%g\n' ]
21 SymbolName
: test_kernel@kd
23 DebuggerABIVersion
: [ 1, 0 ]
26 PrivateSegmentBufferSGPR
: 0
27 WavefrontPrivateSegmentOffsetSGPR
: 11
28 .end_amd_amdgpu_hsa_metadata