[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / arm64-tls-modifiers-darwin.s
blob8ff07cd86b2b68eff6501484184f812ba2af26f1
1 ; RUN: llvm-mc -triple=arm64-apple-ios7.0 %s -o - | FileCheck %s
2 ; RUN: llvm-mc -triple=arm64-apple-ios7.0 -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s --check-prefix=CHECK-OBJ
4 adrp x2, _var@TLVPPAGE
5 ldr x0, [x15, _var@TLVPPAGEOFF]
6 add x30, x0, _var@TLVPPAGEOFF
7 ; CHECK: adrp x2, _var@TLVPPAG
8 ; CHECK: ldr x0, [x15, _var@TLVPPAGEOFF]
9 ; CHECK: add x30, x0, _var@TLVPPAGEOFF
11 ; CHECK-OBJ: 8 ARM64_RELOC_TLVP_LOAD_PAGEOFF12 _var
12 ; CHECK-OBJ: 4 ARM64_RELOC_TLVP_LOAD_PAGEOFF12 _var
13 ; CHECK-OBJ: 0 ARM64_RELOC_TLVP_LOAD_PAGE21 _var