Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / amdgpu-duplicate-sym.s
blobdb92dad01f65260ca83e3eeafb92c9e20f1f729b
1 # REQUIRES: amdgpu
2 # RUN: llvm-mc -filetype=obj -triple amdgcn-amd-amdhsa -mcpu=gfx1031 --position-independent --relax-relocations %s -o %t.o
4 # We use lld-link on purpose to exercise -flavor.
5 # RUN: lld-link -flavor gnu -shared %t.o -o /dev/null
7 .text
8 .amdgcn_target "amdgcn-amd-amdhsa--gfx1031"
9 .protected xxx ; @xxx
10 .type xxx,@object
11 .data
12 .globl xxx
13 xxx:
14 .long 123 ; 0x7b
16 .addrsig
17 .amdgpu_metadata
18 ---
19 amdhsa.kernels: []
20 amdhsa.target: amdgcn-amd-amdhsa--gfx1031
21 amdhsa.version:
22 - 1
23 - 1
24 ...
26 .end_amdgpu_metadata