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
53 lines
2.0 KiB
LLVM
53 lines
2.0 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
|
|
; Test the handling of unnamed short vector arguments.
|
|
;
|
|
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s -check-prefix=CHECK-VEC
|
|
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s -check-prefix=CHECK-STACK
|
|
|
|
; This routine is called with two named vector argument (passed
|
|
; in %v24 and %v26) and two unnamed vector arguments (passed
|
|
; in the single-wide stack slots at 160 and 168).
|
|
declare void @bar(<4 x i8>, <4 x i8>, ...)
|
|
|
|
define void @foo() {
|
|
; CHECK-VEC-LABEL: foo:
|
|
; CHECK-VEC: # %bb.0:
|
|
; CHECK-VEC-NEXT: stmg %r14, %r15, 112(%r15)
|
|
; CHECK-VEC-NEXT: .cfi_offset %r14, -48
|
|
; CHECK-VEC-NEXT: .cfi_offset %r15, -40
|
|
; CHECK-VEC-NEXT: aghi %r15, -176
|
|
; CHECK-VEC-NEXT: .cfi_def_cfa_offset 336
|
|
; CHECK-VEC-NEXT: larl %r1, .LCPI0_0
|
|
; CHECK-VEC-NEXT: vl %v0, 0(%r1), 3
|
|
; CHECK-VEC-NEXT: vrepib %v24, 1
|
|
; CHECK-VEC-NEXT: vrepib %v26, 2
|
|
; CHECK-VEC-NEXT: vst %v0, 160(%r15), 3
|
|
; CHECK-VEC-NEXT: brasl %r14, bar@PLT
|
|
; CHECK-VEC-NEXT: lmg %r14, %r15, 288(%r15)
|
|
; CHECK-VEC-NEXT: br %r14
|
|
;
|
|
; CHECK-STACK-LABEL: foo:
|
|
; CHECK-STACK: # %bb.0:
|
|
; CHECK-STACK-NEXT: stmg %r14, %r15, 112(%r15)
|
|
; CHECK-STACK-NEXT: .cfi_offset %r14, -48
|
|
; CHECK-STACK-NEXT: .cfi_offset %r15, -40
|
|
; CHECK-STACK-NEXT: aghi %r15, -176
|
|
; CHECK-STACK-NEXT: .cfi_def_cfa_offset 336
|
|
; CHECK-STACK-NEXT: larl %r1, .LCPI0_0
|
|
; CHECK-STACK-NEXT: vl %v0, 0(%r1), 3
|
|
; CHECK-STACK-NEXT: vrepib %v24, 1
|
|
; CHECK-STACK-NEXT: vrepib %v26, 2
|
|
; CHECK-STACK-NEXT: vst %v0, 160(%r15), 3
|
|
; CHECK-STACK-NEXT: brasl %r14, bar@PLT
|
|
; CHECK-STACK-NEXT: lmg %r14, %r15, 288(%r15)
|
|
; CHECK-STACK-NEXT: br %r14
|
|
|
|
call void (<4 x i8>, <4 x i8>, ...) @bar
|
|
(<4 x i8> <i8 1, i8 1, i8 1, i8 1>,
|
|
<4 x i8> <i8 2, i8 2, i8 2, i8 2>,
|
|
<4 x i8> <i8 3, i8 3, i8 3, i8 3>,
|
|
<4 x i8> <i8 4, i8 4, i8 4, i8 4>)
|
|
ret void
|
|
}
|
|
|