1 ; RUN: llc < %s -march=amdgcn -mcpu=fiji -filetype=obj | llvm-readobj --symbols -S --sd - | FileCheck %s
4 ; CHECK: Name: .AMDGPU.comment.info_1
5 ; CHECK: Type: SHT_PROGBITS (0x1)
9 ; CHECK: 0000: 414D4431 414D4431 414D4431 414D4431 |AMD1AMD1AMD1AMD1|
14 ; CHECK: Name: .AMDGPU.comment.info_2
15 ; CHECK: Type: SHT_PROGBITS (0x1)
16 ; CHECK: Flags [ (0x0)
18 ; CHECK: SectionData (
19 ; CHECK: 0000: 414D4432 414D4432 414D4432 414D4432 |AMD2AMD2AMD2AMD2|
24 ; CHECK: Name: .AMDGPU.comment.info_3
25 ; CHECK: Type: SHT_PROGBITS (0x1)
26 ; CHECK: Flags [ (0x0)
28 ; CHECK: SectionData (
29 ; CHECK: 0000: 414D4433 414D4433 414D4433 414D4433 |AMD3AMD3AMD3AMD3|
34 ; CHECK: Name: comment_info_var_1
36 ; CHECK: Binding: Local
37 ; CHECK: Section: .AMDGPU.comment.info_1
41 ; CHECK: Name: comment_info_var_2
43 ; CHECK: Binding: Global
44 ; CHECK: Section: .AMDGPU.comment.info_2
48 ; CHECK: Name: comment_info_var_3
50 ; CHECK: Binding: Global
51 ; CHECK: Section: .AMDGPU.comment.info_3
54 @comment_info_var_1 = internal global [4 x i32][i32 826559809, i32 826559809, i32 826559809, i32 826559809], align 1, section ".AMDGPU.comment.info_1"
55 @comment_info_var_2 = constant [4 x i32][i32 843337025, i32 843337025, i32 843337025, i32 843337025], align 1, section ".AMDGPU.comment.info_2"
56 @comment_info_var_3 = global [4 x i32][i32 860114241, i32 860114241, i32 860114241, i32 860114241], align 1, section ".AMDGPU.comment.info_3"