Files
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

83 lines
3.2 KiB
LLVM

; RUN: llc -mtriple=riscv32 --code-model=small < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv32 --code-model=medium < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv32 --code-model=small -relocation-model=pic < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv32 --code-model=medium -relocation-model=pic < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64 --code-model=small < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64 --code-model=medium < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64 --code-model=small -relocation-model=pic < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64 --code-model=medium -relocation-model=pic < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv32be --code-model=small < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv32be --code-model=medium < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv32be --code-model=small -relocation-model=pic < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv32be --code-model=medium -relocation-model=pic < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64be --code-model=small < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64be --code-model=medium < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64be --code-model=small -relocation-model=pic < %s \
; RUN: | FileCheck %s
; RUN: llc -mtriple=riscv64be --code-model=medium -relocation-model=pic < %s \
; RUN: | FileCheck %s
declare void @throw_exception()
declare i32 @__gxx_personality_v0(...)
declare ptr @__cxa_begin_catch(ptr)
declare void @__cxa_end_catch()
; CHECK-LABEL: test1:
; CHECK: .cfi_startproc
; PersonalityEncoding = DW_EH_PE_indirect | DW_EH_PE_pcrel | DW_EH_PE_sdata4
; CHECK-NEXT: .cfi_personality 155, DW.ref.__gxx_personality_v0
; LSDAEncoding = DW_EH_PE_pcrel | DW_EH_PE_sdata4
; CHECK-NEXT: .cfi_lsda 27, .Lexception0
define void @test1() personality ptr @__gxx_personality_v0 {
entry:
invoke void @throw_exception() to label %try.cont unwind label %lpad
lpad:
%0 = landingpad { ptr, i32 }
catch ptr null
%1 = extractvalue { ptr, i32 } %0, 0
%2 = tail call ptr @__cxa_begin_catch(ptr %1)
tail call void @__cxa_end_catch()
br label %try.cont
try.cont:
ret void
}
; CHECK-LABEL: GCC_except_table0:
; CHECK-NEXT: .Lexception0:
; CHECK-NEXT: .byte 255 # @LPStart Encoding = omit
; TTypeEncoding = DW_EH_PE_indirect | DW_EH_PE_pcrel | DW_EH_PE_sdata4
; CHECK-NEXT: .byte 155 # @TType Encoding = indirect pcrel sdata4
; CHECK: .Lttbaseref0:
; CallSiteEncoding = dwarf::DW_EH_PE_udata4
; CHECK-NEXT: .byte 3 # Call site Encoding = udata4
; CHECK-NEXT: .uleb128 .Lcst_end0-.Lcst_begin0
; CHECK-NEXT: cst_begin0:
; CHECK-NEXT: .word .Ltmp0-.Lfunc_begin0 # >> Call Site 1 <<
; CHECK-NEXT: .word .Ltmp1-.Ltmp0 # Call between .Ltmp0 and .Ltmp1
; CHECK-NEXT: .word .Ltmp2-.Lfunc_begin0 # jumps to .Ltmp2
; CHECK-NEXT: .byte 1 # On action: 1
; CHECK-NEXT: .word .Ltmp1-.Lfunc_begin0 # >> Call Site 2 <<
; CHECK-NEXT: .word .Lfunc_end0-.Ltmp1 # Call between .Ltmp1 and .Lfunc_end0
; CHECK-NEXT: .word 0 # has no landing pad
; CHECK-NEXT: .byte 0 # On action: cleanup