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
51 lines
1.6 KiB
LLVM
51 lines
1.6 KiB
LLVM
; RUN: llc -mtriple=arm64ec-pc-windows-msvc < %s | FileCheck %s
|
|
|
|
define void @simple(ptr %g) {
|
|
; CHECK-LABEL: "#simple":
|
|
; CHECK: str x30, [sp, #-16]!
|
|
; CHECK-NEXT: .seh_save_reg_x x30, 16
|
|
; CHECK-NEXT: .seh_endprologue
|
|
; CHECK-NEXT: adrp x8, __os_arm64x_check_icall
|
|
; CHECK-NEXT: adrp x10, $iexit_thunk$cdecl$v$v
|
|
; CHECK-NEXT: add x10, x10, :lo12:$iexit_thunk$cdecl$v$v
|
|
; CHECK-NEXT: ldr x8, [x8, :lo12:__os_arm64x_check_icall]
|
|
; CHECK-NEXT: mov x11, x0
|
|
; CHECK-NEXT: blr x8
|
|
; CHECK-NEXT: blr x11
|
|
; CHECK-NEXT: .seh_startepilogue
|
|
; CHECK-NEXT: ldr x30, [sp], #16
|
|
; CHECK-NEXT: .seh_save_reg_x x30, 16
|
|
; CHECK-NEXT: .seh_endepilogue
|
|
; CHECK-NEXT: ret
|
|
|
|
entry:
|
|
call void %g()
|
|
ret void
|
|
}
|
|
|
|
; Make sure the check for the security cookie doesn't use x9.
|
|
define void @stackguard(ptr %g) sspreq {
|
|
; CHECK-LABEL: "#stackguard":
|
|
; CHECK: adrp x8, __os_arm64x_check_icall
|
|
; CHECK-NEXT: ldr x8, [x8, :lo12:__os_arm64x_check_icall]
|
|
; CHECK-NEXT: blr x8
|
|
; CHECK-NEXT: adrp x8, __security_cookie
|
|
; CHECK-NEXT: ldr x10, [sp, #8]
|
|
; CHECK-NEXT: ldr x8, [x8, :lo12:__security_cookie]
|
|
; CHECK-NEXT: cmp x8, x10
|
|
; CHECK-NEXT: b.ne .LBB1_2
|
|
; CHECK-NEXT: // %bb.1:
|
|
; CHECK-NEXT: fmov d0, #1.00000000
|
|
; CHECK-NEXT: .seh_startepilogue
|
|
; CHECK-NEXT: ldr x30, [sp, #16]
|
|
; CHECK-NEXT: .seh_save_reg x30, 16
|
|
; CHECK-NEXT: add sp, sp, #32
|
|
; CHECK-NEXT: .seh_stackalloc 32
|
|
; CHECK-NEXT: .seh_endepilogue
|
|
; CHECK-NEXT: br x11
|
|
|
|
entry:
|
|
%call = tail call double %g(double noundef 1.000000e+00)
|
|
ret void
|
|
}
|