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
82 lines
2.8 KiB
LLVM
82 lines
2.8 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=aarch64-pc-win32 | FileCheck %s
|
|
; RUN: llc < %s -global-isel -mtriple=aarch64-pc-win32 -global-isel-abort=0 | FileCheck %s --check-prefix=GISEL
|
|
|
|
; Function Attrs: mustprogress noinline nounwind optnone uwtable
|
|
define i1 @va_func(i32 %a, i8 %b, i8 %c, ...) {
|
|
; CHECK-LABEL: va_func:
|
|
; CHECK: .seh_proc va_func
|
|
; CHECK-NEXT: // %bb.0:
|
|
; CHECK-NEXT: sub sp, sp, #80
|
|
; CHECK-NEXT: .seh_stackalloc 80
|
|
; CHECK-NEXT: stp x19, x30, [sp, #16] // 16-byte Folded Spill
|
|
; CHECK-NEXT: .seh_save_lrpair x19, 16
|
|
; CHECK-NEXT: .seh_endprologue
|
|
; CHECK-NEXT: add x8, sp, #40
|
|
; CHECK-NEXT: mov w19, w0
|
|
; CHECK-NEXT: stp x3, x4, [sp, #40]
|
|
; CHECK-NEXT: stp x5, x6, [sp, #56]
|
|
; CHECK-NEXT: str x7, [sp, #72]
|
|
; CHECK-NEXT: str x8, [sp, #8]
|
|
; CHECK-NEXT: str w0, [sp, #4]
|
|
; CHECK-NEXT: strb w1, [sp, #3]
|
|
; CHECK-NEXT: strb w2, [sp, #2]
|
|
; CHECK-NEXT: bl other
|
|
; CHECK-NEXT: cmp w19, w0
|
|
; CHECK-NEXT: cset w0, ls
|
|
; CHECK-NEXT: .seh_startepilogue
|
|
; CHECK-NEXT: ldp x19, x30, [sp, #16] // 16-byte Folded Reload
|
|
; CHECK-NEXT: .seh_save_lrpair x19, 16
|
|
; CHECK-NEXT: add sp, sp, #80
|
|
; CHECK-NEXT: .seh_stackalloc 80
|
|
; CHECK-NEXT: .seh_endepilogue
|
|
; CHECK-NEXT: ret
|
|
; CHECK-NEXT: .seh_endfunclet
|
|
; CHECK-NEXT: .seh_endproc
|
|
;
|
|
; GISEL-LABEL: va_func:
|
|
; GISEL: .seh_proc va_func
|
|
; GISEL-NEXT: // %bb.0:
|
|
; GISEL-NEXT: sub sp, sp, #80
|
|
; GISEL-NEXT: .seh_stackalloc 80
|
|
; GISEL-NEXT: stp x19, x30, [sp, #16] // 16-byte Folded Spill
|
|
; GISEL-NEXT: .seh_save_lrpair x19, 16
|
|
; GISEL-NEXT: .seh_endprologue
|
|
; GISEL-NEXT: add x8, sp, #40
|
|
; GISEL-NEXT: mov w19, w0
|
|
; GISEL-NEXT: stp x3, x4, [sp, #40]
|
|
; GISEL-NEXT: stp x5, x6, [sp, #56]
|
|
; GISEL-NEXT: str x7, [sp, #72]
|
|
; GISEL-NEXT: str x8, [sp, #8]
|
|
; GISEL-NEXT: str w0, [sp, #4]
|
|
; GISEL-NEXT: strb w1, [sp, #3]
|
|
; GISEL-NEXT: strb w2, [sp, #2]
|
|
; GISEL-NEXT: bl other
|
|
; GISEL-NEXT: cmp w19, w0
|
|
; GISEL-NEXT: cset w0, ls
|
|
; GISEL-NEXT: .seh_startepilogue
|
|
; GISEL-NEXT: ldp x19, x30, [sp, #16] // 16-byte Folded Reload
|
|
; GISEL-NEXT: .seh_save_lrpair x19, 16
|
|
; GISEL-NEXT: add sp, sp, #80
|
|
; GISEL-NEXT: .seh_stackalloc 80
|
|
; GISEL-NEXT: .seh_endepilogue
|
|
; GISEL-NEXT: ret
|
|
; GISEL-NEXT: .seh_endfunclet
|
|
; GISEL-NEXT: .seh_endproc
|
|
%valist = alloca ptr
|
|
call void @llvm.va_start(ptr %valist)
|
|
%a_alloc = alloca i32, align 4
|
|
%b_alloc = alloca i8, align 1
|
|
%c_alloc = alloca i8, align 1
|
|
store i32 %a, ptr %a_alloc, align 4
|
|
store i8 %b, ptr %b_alloc, align 1
|
|
store i8 %c, ptr %c_alloc, align 1
|
|
%a_load = load i32, ptr %a_alloc, align 4
|
|
%ret = call noundef i32 @other()
|
|
%cmp = icmp ule i32 %a_load, %ret
|
|
call void @llvm.va_end(ptr %valist)
|
|
ret i1 %cmp
|
|
}
|
|
|
|
declare i32 @other()
|