1; RUN: llc < %s -march=amdgcn -mcpu=fiji -filetype=obj | llvm-readobj --symbols -S --sd - | FileCheck %s
2
3; CHECK: Section {
4; CHECK: Name: .AMDGPU.comment.info_1
5; CHECK: Type: SHT_PROGBITS (0x1)
6; CHECK: Flags [ (0x0)
7; CHECK: Size: 16
8; CHECK: SectionData (
9; CHECK: 0000: 414D4431 414D4431 414D4431 414D4431  |AMD1AMD1AMD1AMD1|
10; CHECK: )
11; CHECK: }
12
13; CHECK: Section {
14; CHECK: Name: .AMDGPU.comment.info_2
15; CHECK: Type: SHT_PROGBITS (0x1)
16; CHECK: Flags [ (0x0)
17; CHECK: Size: 16
18; CHECK: SectionData (
19; CHECK: 0000: 414D4432 414D4432 414D4432 414D4432  |AMD2AMD2AMD2AMD2|
20; CHECK: )
21; CHECK: }
22
23; CHECK: Section {
24; CHECK: Name: .AMDGPU.comment.info_3
25; CHECK: Type: SHT_PROGBITS (0x1)
26; CHECK: Flags [ (0x0)
27; CHECK: Size: 16
28; CHECK: SectionData (
29; CHECK: 0000: 414D4433 414D4433 414D4433 414D4433  |AMD3AMD3AMD3AMD3|
30; CHECK: )
31; CHECK: }
32
33; CHECK: Symbol {
34; CHECK: Name: comment_info_var_1
35; CHECK: Size: 16
36; CHECK: Binding: Local
37; CHECK: Section: .AMDGPU.comment.info_1
38; CHECK: }
39
40; CHECK: Symbol {
41; CHECK: Name: comment_info_var_2
42; CHECK: Size: 16
43; CHECK: Binding: Global
44; CHECK: Section: .AMDGPU.comment.info_2
45; CHECK: }
46
47; CHECK: Symbol {
48; CHECK: Name: comment_info_var_3
49; CHECK: Size: 16
50; CHECK: Binding: Global
51; CHECK: Section: .AMDGPU.comment.info_3
52; CHECK: }
53
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"
57