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
56 lines
1.7 KiB
LLVM
56 lines
1.7 KiB
LLVM
; RUN: llc -O0 -fast-isel -mtriple=arm64-none-linux-gnu -relocation-model=pic \
|
|
; RUN: -verify-machineinstrs < %s | FileCheck -check-prefix=CHECK -check-prefix=NOEMU %s
|
|
; RUN: llc -emulated-tls -O0 -fast-isel -mtriple=arm64-none-linux-gnu -relocation-model=pic \
|
|
; RUN: -verify-machineinstrs < %s | FileCheck -check-prefix=CHECK -check-prefix=EMU %s
|
|
|
|
; If the .tlsdesccall and blr parts are emitted completely separately (even with
|
|
; glue) then LLVM will separate them quite happily (with a spill at O0, hence
|
|
; the option). This is definitely wrong, so we make sure they are emitted
|
|
; together.
|
|
|
|
@general_dynamic_var = external thread_local global i32
|
|
|
|
define i32 @test_generaldynamic() {
|
|
; CHECK-LABEL: test_generaldynamic:
|
|
|
|
%val = load i32, ptr @general_dynamic_var
|
|
ret i32 %val
|
|
|
|
; NOEMU: .tlsdesccall general_dynamic_var
|
|
; NOEMU-NEXT: blr {{x[0-9]+}}
|
|
; NOEMU-NOT: __emutls_v.general_dynamic_var:
|
|
|
|
; EMU: adrp{{.+}}__emutls_v.general_dynamic_var
|
|
; EMU: bl __emutls_get_address
|
|
|
|
; EMU-NOT: __emutls_v.general_dynamic_var
|
|
; EMU-NOT: __emutls_t.general_dynamic_var
|
|
}
|
|
|
|
@emulated_init_var = thread_local global i32 37, align 8
|
|
|
|
define i32 @test_emulated_init() {
|
|
; COMMON-LABEL: test_emulated_init:
|
|
|
|
%val = load i32, ptr @emulated_init_var
|
|
ret i32 %val
|
|
|
|
; EMU: adrp{{.+}}__emutls_v.emulated_init_var
|
|
; EMU: bl __emutls_get_address
|
|
|
|
; EMU-NOT: __emutls_v.general_dynamic_var:
|
|
|
|
; EMU: .p2align 3
|
|
; EMU-LABEL: __emutls_v.emulated_init_var:
|
|
; EMU-NEXT: .xword 4
|
|
; EMU-NEXT: .xword 8
|
|
; EMU-NEXT: .xword 0
|
|
; EMU-NEXT: .xword __emutls_t.emulated_init_var
|
|
|
|
; EMU-LABEL: __emutls_t.emulated_init_var:
|
|
; EMU-NEXT: .word 37
|
|
}
|
|
|
|
; CHECK-NOT: __emutls_v.general_dynamic_var:
|
|
; EMU-NOT: __emutls_t.general_dynamic_var
|