Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / aarch64-cortex-a53-843419-large2.s
bloba8337fc1073dd56870a200466959610bcf19fe12
1 // REQUIRES: aarch64
2 // RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
3 // RUN: ld.lld --fix-cortex-a53-843419 -Ttext=0x8000000 %t.o -o %t2
4 // RUN: llvm-objdump -d --start-address=0x8001000 --stop-address=0x8001004 %t2 | FileCheck %s
5 /// The temporary files are more than 128MiB. Delete them early.
6 // RUN: rm %t.o %t2
8 .section .text.01, "ax", %progbits
9 .balign 4096
10 .space 4096 - 8
11 adrp x0, thunk
12 ldr x1, [x1, #0]
13 // CHECK: <thunk>:
14 // CHECK-NEXT: b 0xc001008 <__CortexA53843419_8001000>
15 thunk:
16 ldr x0, [x0, :got_lo12:thunk]
17 ret
18 .space 64 * 1024 * 1024
20 .section .text.02, "ax", %progbits
21 .space 64 * 1024 * 1024