CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
65 lines
1.1 KiB
ArmAsm
65 lines
1.1 KiB
ArmAsm
# REQUIRES: aarch64
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=arm64_32-apple-watchos %s -o %t.o
|
|
# RUN: %lld-watchos -U _external %t.o -o %t
|
|
# RUN: llvm-objdump -d --macho %t | FileCheck %s
|
|
|
|
.text
|
|
.align 2
|
|
.globl _foo
|
|
_foo:
|
|
ret
|
|
.globl _bar
|
|
_bar:
|
|
ret
|
|
|
|
.globl _main
|
|
_main:
|
|
# CHECK-LABEL: _main:
|
|
|
|
L1: adrp x0, _foo@PAGE
|
|
L2: add x0, x0, _foo@PAGEOFF
|
|
# CHECK-NEXT: adr x0
|
|
# CHECK-NEXT: nop
|
|
|
|
L3: adrp x0, _ptr@PAGE
|
|
L4: add x1, x0, _ptr@PAGEOFF
|
|
L5: ldr x2, [x1]
|
|
# CHECK-NEXT: nop
|
|
# CHECK-NEXT: nop
|
|
# CHECK-NEXT: ldr x2
|
|
|
|
L6: adrp x0, _foo@PAGE
|
|
L7: adrp x0, _bar@PAGE
|
|
# CHECK-NEXT: adrp x0
|
|
# CHECK-NEXT: nop
|
|
|
|
L8: adrp x0, _ptr@PAGE
|
|
L9: ldr x0, [x0, _ptr@PAGEOFF]
|
|
# CHECK-NEXT: nop
|
|
# CHECK-NEXT: ldr x0
|
|
|
|
L10: adrp x0, _ptr@PAGE
|
|
L11: ldr w0, [x0, _ptr@PAGEOFF]
|
|
# CHECK-NEXT: nop
|
|
# CHECK-NEXT: ldr w0, _ptr
|
|
|
|
L12: adrp x0, _external@PAGE
|
|
L13: ldr w1, [x0, _external@PAGEOFF]
|
|
L14: ldr x2, [x1]
|
|
# CHECK-NEXT: nop
|
|
# CHECK-NEXT: ldr w1, 0x{{.*}}
|
|
# CHECK-NEXT: ldr x2, [x1]
|
|
|
|
.data
|
|
.align 4
|
|
_ptr:
|
|
.quad 0
|
|
|
|
.loh AdrpAdd L1, L2
|
|
.loh AdrpAddLdr L3, L4, L5
|
|
.loh AdrpAdrp L6, L7
|
|
.loh AdrpLdr L8, L9
|
|
.loh AdrpLdrGot L10, L11
|
|
.loh AdrpLdrGotLdr L12, L13, L14
|