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
48 lines
1.6 KiB
LLVM
48 lines
1.6 KiB
LLVM
; RUN: llc < %s -mtriple=s390x-none-zos -mcpu=z10 | FileCheck %s
|
|
;
|
|
; Ensures that landingpad instructions use the right Exception Pointer
|
|
; and Exception Selector registers, and that the exception table is emitted.
|
|
|
|
declare void @callee()
|
|
declare void @passeh(ptr, i32) noreturn
|
|
declare i32 @__zos_cxx_personality_v2(...)
|
|
|
|
define void @test1() uwtable personality ptr @__zos_cxx_personality_v2 {
|
|
entry:
|
|
%ehptr = alloca ptr, align 8
|
|
%ehsel = alloca i32, align 8
|
|
invoke void @callee() to label %done unwind label %lpad
|
|
done:
|
|
ret void
|
|
; Match the return instruction.
|
|
; CHECK: b 2(7)
|
|
lpad:
|
|
%0 = landingpad { ptr, i32 } cleanup
|
|
; The Exception Pointer is %r1; the Exception Selector, %r2.
|
|
; CHECK: L#BB{{[^%]*}} DS 0H
|
|
; CHECK-DAG: stg 1,{{.*}}
|
|
; CHECK-DAG: st 2,{{.*}}
|
|
%1 = extractvalue { ptr, i32 } %0, 0
|
|
%2 = extractvalue { ptr, i32 } %0, 1
|
|
store ptr %1, ptr %ehptr, align 8
|
|
store i32 %2, ptr %ehsel, align 8
|
|
call void @passeh(ptr %1, i32 %2)
|
|
unreachable
|
|
}
|
|
|
|
; Check that the exception table is emitted into .lsda section.
|
|
; CHECK: stdin#C CSECT
|
|
; CHECK: C_WSA64 CATTR ALIGN(2),FILL(0),NOTEXECUTABLE,RMODE(64),PART(.gcc_excepti
|
|
; CHECK: ion_table.test1)
|
|
; CHECK: .gcc_exception_table.test1 XATTR LINKAGE(XPLINK),REFERENCE(DATA),SCOPE(S
|
|
; CHECK: SECTION)
|
|
; Check that offsets to the FD of the personality routine and LSDA are emitted in PPA1
|
|
; CHECK: * PPA1 Flags 4
|
|
; CHECK: * Bit 3: 1 = C++ EH block
|
|
; CHECK: * Bit 7: 1 = Name Length and Name
|
|
; CHECK: DC XL1'91'
|
|
; CHECK: * Personality routine
|
|
; CHECK: DC XL8'0000000000000020'
|
|
; CHECK: * LSDA location
|
|
; CHECK: DC XL8'0000000000000028'
|