Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / elf-reloc-addsubimm.s
blobe8d87c398bdaebaf40ff646843212d7c535bd746
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
2 // RUN: llvm-objdump --no-print-imm-hex -r -d - | FileCheck --check-prefix=OBJ %s
4 // OBJ-LABEL: Disassembly of section .text:
6 add x2, x3, #:lo12:some_label
7 // OBJ: [[addr:[0-9a-f]+]]: 91000062 add x2, x3, #0
8 // OBJ-NEXT: [[addr]]: R_AARCH64_ADD_ABS_LO12_NC some_label
10 add x2, x3, #:lo12:some_label, lsl #12
11 // OBJ: [[addr:[0-9a-f]+]]: 91400062 add x2, x3, #0, lsl #12
12 // OBJ-NEXT: [[addr]]: R_AARCH64_ADD_ABS_LO12_NC some_label