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
42 lines
1.4 KiB
LLVM
42 lines
1.4 KiB
LLVM
; RUN: llc -mtriple=aarch64_be -fast-isel=false < %s | FileCheck %s
|
|
; RUN: llc -mtriple=aarch64_be -fast-isel=true < %s | FileCheck %s
|
|
|
|
; Check narrow argument passing via stack - callee end
|
|
define i32 @test_narrow_args_callee(i64 %x0, i64 %x1, i64 %x2, i64 %x3, i64 %x4, i64 %x5, i64 %x6, i64 %x7, i8 %c, i16 %s) #0 {
|
|
entry:
|
|
%conv = zext i8 %c to i32
|
|
%conv1 = sext i16 %s to i32
|
|
%add = add nsw i32 %conv1, %conv
|
|
; CHECK-LABEL: test_narrow_args_callee:
|
|
; CHECK-DAG: ldrb w{{[0-9]}}, [sp, #7]
|
|
; CHECK-DAG: ldr{{s?}}h w{{[0-9]}}, [sp, #14]
|
|
ret i32 %add
|
|
}
|
|
|
|
; Check narrow argument passing via stack - caller end
|
|
define i32 @test_narrow_args_caller() #0 {
|
|
entry:
|
|
%call = tail call i32 @test_narrow_args_callee(i64 undef, i64 undef, i64 undef, i64 undef, i64 undef, i64 undef, i64 undef, i64 undef, i8 8, i16 9)
|
|
; CHECK-LABEL: test_narrow_args_caller:
|
|
; CHECK-DAG: strh w{{[0-9]}}, [sp, #14]
|
|
; CHECK-DAG: strb w{{[0-9]}}, [sp, #7]
|
|
ret i32 %call
|
|
}
|
|
|
|
define float @test_block_addr([8 x float], [1 x float] %in) {
|
|
; CHECK-LABEL: test_block_addr:
|
|
; CHECK: ldr s0, [sp]
|
|
%val = extractvalue [1 x float] %in, 0
|
|
ret float %val
|
|
}
|
|
|
|
define void @test_block_addr_callee() {
|
|
; CHECK-LABEL: test_block_addr_callee:
|
|
; CHECK: sub sp, sp, #32
|
|
; CHECK: str {{[a-z0-9]+}}, [sp, #16]
|
|
; CHECK: bl test_block_addr
|
|
%val = insertvalue [1 x float] undef, float 0.0, 0
|
|
call float @test_block_addr([8 x float] undef, [1 x float] %val)
|
|
ret void
|
|
}
|