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
72 lines
2.1 KiB
LLVM
72 lines
2.1 KiB
LLVM
; RUN: llc < %s -mtriple=s390x-ibm-zos | FileCheck %s
|
|
%struct.LargeStruct_t = type { [33 x i32] }
|
|
|
|
@GlobLargeS = hidden global %struct.LargeStruct_t zeroinitializer, align 4
|
|
@GlobInt = hidden global i32 0, align 4
|
|
|
|
; === Check that function with small frame does not emit PPA1 Argument Area Length.
|
|
define void @fSmallOutArgArea() {
|
|
; CHECK-LABEL: L#EPM_fSmallOutArgArea_0 DS 0H
|
|
; CHECK: * Bit 1: 1 = Leaf function
|
|
; CHECK: * Bit 2: 0 = Does not use alloca
|
|
; CHECK: DC XL4'00000008'
|
|
; CHECK: fSmallOutArgArea DS 0H
|
|
ret void
|
|
}
|
|
|
|
; === Check that function with large frame does emit PPA1 Argument Area Length.
|
|
define void @fLargeOutArgArea() {
|
|
; CHECK-LABEL: L#EPM_fLargeOutArgArea_0 DS 0H
|
|
; CHECK: * Bit 1: 0 = Non-leaf function
|
|
; CHECK: * Bit 2: 0 = Does not use alloca
|
|
; CHECK: DC XL4'00000220'
|
|
; CHECK: fLargeOutArgArea DS 0H
|
|
%1 = load [33 x i32], ptr @GlobLargeS, align 4
|
|
call void @fLargeParm([33 x i32] inreg %1)
|
|
ret void
|
|
}
|
|
|
|
; === Check that function with parameter does emit PPA1 Length/4 of parms
|
|
define void @fLargeParm([33 x i64] inreg %arr) {
|
|
; CHECK-LABEL: L#EPM_fLargeParm_0 DS 0H
|
|
%1 = extractvalue [33 x i64] %arr, 1
|
|
call void @foo(i64 %1)
|
|
ret void
|
|
}
|
|
|
|
; === Check that function with alloca call does emit PPA1 Argument Area Length.
|
|
define hidden void @fHasAlloca() {
|
|
; CHECK-LABEL: L#EPM_fHasAlloca_0 DS 0H
|
|
; CHECK: * Bit 2: 1 = Uses alloca
|
|
; CHECK: fHasAlloca DS 0H
|
|
%p = alloca ptr, align 4
|
|
%1 = load i32, ptr @GlobInt, align 4
|
|
%2 = alloca i8, i32 %1, align 8
|
|
store ptr %2, ptr %p, align 4
|
|
ret void
|
|
}
|
|
|
|
declare void @foo(i64)
|
|
|
|
; CHECK-LABEL: L#PPA1_fSmallOutArgArea_0 DS 0H
|
|
; CHECK: * PPA1 Flags 3
|
|
; CHECK: DC XL1'00'
|
|
|
|
; CHECK-LABEL: L#PPA1_fLargeOutArgArea_0 DS 0H
|
|
; CHECK: * PPA1 Flags 3
|
|
; CHECK: * Bit 1: 1 = Argument Area Length is in optional area
|
|
; CHECK: DC XL1'40'
|
|
; CHECK: * Argument Area Length
|
|
; CHECK: DC XL4'00000140'
|
|
|
|
; CHECK-LABEL: L#PPA1_fLargeParm_0 DS 0H
|
|
; CHECK: * Length/4 of Parms
|
|
; CHECK: DC XL2'0042'
|
|
|
|
; CHECK-LABEL: L#PPA1_fHasAlloca_0 DS 0H
|
|
; CHECK: * PPA1 Flags 3
|
|
; CHECK: * Bit 1: 1 = Argument Area Length is in optional area
|
|
; CHECK: DC XL1'40'
|
|
; CHECK: * Argument Area Length
|
|
; CHECK: DC XL4'00000040'
|