[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / AArch64 / elf-reloc-addsubimm.s
blobf4d8d9c7784f0c1c360ebac500505f01fcf1fd5d
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
2 // RUN: llvm-objdump -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]+]]: 62 00 00 91 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]+]]: 62 00 40 91 add x2, x3, #0, lsl #12
12 // OBJ-NEXT: [[addr]]: R_AARCH64_ADD_ABS_LO12_NC some_label