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
73 lines
1.9 KiB
LLVM
73 lines
1.9 KiB
LLVM
; RUN: llc < %s -mtriple=armv6-apple-darwin -relocation-model=static | FileCheck %s -check-prefix=DarwinStatic
|
|
; RUN: llc < %s -mtriple=armv6-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s -check-prefix=DarwinDynamic
|
|
; RUN: llc < %s -mtriple=armv6-apple-darwin -relocation-model=pic | FileCheck %s -check-prefix=DarwinPIC
|
|
; RUN: llc < %s -mtriple=armv6-linux-gnueabi -relocation-model=pic | FileCheck %s -check-prefix=LinuxPIC
|
|
|
|
@G = external global i32
|
|
|
|
define i32 @test1() {
|
|
%tmp = load i32, ptr @G
|
|
ret i32 %tmp
|
|
}
|
|
|
|
; DarwinStatic: _test1:
|
|
; DarwinStatic: ldr r0, LCPI0_0
|
|
; DarwinStatic: ldr r0, [r0]
|
|
; DarwinStatic: bx lr
|
|
|
|
; DarwinStatic: .p2align 2
|
|
; DarwinStatic: LCPI0_0:
|
|
; DarwinStatic: .long {{_G$}}
|
|
|
|
|
|
; DarwinDynamic: _test1:
|
|
; DarwinDynamic: ldr r0, LCPI0_0
|
|
; DarwinDynamic: ldr r0, [r0]
|
|
; DarwinDynamic: ldr r0, [r0]
|
|
; DarwinDynamic: bx lr
|
|
|
|
; DarwinDynamic: .p2align 2
|
|
; DarwinDynamic: LCPI0_0:
|
|
; DarwinDynamic: .long L_G$non_lazy_ptr
|
|
|
|
; DarwinDynamic: .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
|
|
; DarwinDynamic: .p2align 2
|
|
; DarwinDynamic: L_G$non_lazy_ptr:
|
|
; DarwinDynamic: .indirect_symbol _G
|
|
; DarwinDynamic: .long 0
|
|
|
|
|
|
|
|
; DarwinPIC: _test1:
|
|
; DarwinPIC: ldr r0, LCPI0_0
|
|
; DarwinPIC: LPC0_0:
|
|
; DarwinPIC: ldr r0, [pc, r0]
|
|
; DarwinPIC: ldr r0, [r0]
|
|
; DarwinPIC-NOT: ldr
|
|
; DarwinPIC: bx lr
|
|
|
|
; DarwinPIC: .p2align 2
|
|
; DarwinPIC: LCPI0_0:
|
|
; DarwinPIC: .long L_G$non_lazy_ptr-(LPC0_0+8)
|
|
|
|
; DarwinPIC: .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
|
|
; DarwinPIC: .p2align 2
|
|
; DarwinPIC: L_G$non_lazy_ptr:
|
|
; DarwinPIC: .indirect_symbol _G
|
|
; DarwinPIC: .long 0
|
|
|
|
|
|
|
|
; LinuxPIC-LABEL: test1:
|
|
; LinuxPIC: ldr r0, .LCPI0_0
|
|
|
|
; LinuxPIC: .LPC0_0:
|
|
; LinuxPIC: ldr r0, [pc, r0]
|
|
; LinuxPIC: ldr r0, [r0]
|
|
; LinuxPIC: bx lr
|
|
|
|
; LinuxPIC: .p2align 2
|
|
; LinuxPIC: .LCPI0_0:
|
|
; LinuxPIC: .Ltmp0:
|
|
; LinuxPIC: .long G(GOT_PREL)-(.LPC0_0+8-.Ltmp0)
|