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
87 lines
2.5 KiB
LLVM
87 lines
2.5 KiB
LLVM
; RUN: llc -O0 %s --basic-block-sections=all -mtriple=x86_64 -filetype=asm --frame-pointer=all -o - | FileCheck --check-prefix=SECTIONS_CFI %s
|
|
; RUN: llc -O0 %s --basic-block-sections=all -mtriple=x86_64 -filetype=asm --frame-pointer=none -o - | FileCheck --check-prefix=SECTIONS_NOFP_CFI %s
|
|
; RUN: llc -O0 %s --basic-block-sections=all -mtriple=x86_64 -filetype=obj --frame-pointer=all -o - | llvm-dwarfdump --eh-frame - | FileCheck --check-prefix=EH_FRAME %s
|
|
|
|
;; void f1();
|
|
;; void f3(bool b) {
|
|
;; if (b)
|
|
;; f1();
|
|
;; }
|
|
|
|
|
|
; SECTIONS_CFI: _Z2f3b:
|
|
; SECTIONS_CFI: .cfi_startproc
|
|
; SECTIONS_CFI: .cfi_def_cfa_offset 16
|
|
; SECTIONS_CFI: .cfi_offset %rbp, -16
|
|
; SECTIONS_CFI: .cfi_def_cfa_register %rbp
|
|
; SECTIONS_CFI: .cfi_endproc
|
|
|
|
; SECTIONS_CFI: _Z2f3b.__part.1:
|
|
; SECTIONS_CFI-NEXT: .cfi_startproc
|
|
; SECTIONS_CFI-NEXT: .cfi_def_cfa %rbp, 16
|
|
; SECTIONS_CFI-NEXT: .cfi_offset %rbp, -16
|
|
; SECTIONS_CFI: .cfi_endproc
|
|
|
|
; SECTIONS_CFI: _Z2f3b.__part.2:
|
|
; SECTIONS_CFI-NEXT: .cfi_startproc
|
|
; SECTIONS_CFI-NEXT: .cfi_def_cfa %rbp, 16
|
|
; SECTIONS_CFI-NEXT: .cfi_offset %rbp, -16
|
|
; SECTIONS_CFI: .cfi_def_cfa
|
|
; SECTIONS_CFI: .cfi_endproc
|
|
|
|
|
|
; SECTIONS_NOFP_CFI: _Z2f3b:
|
|
; SECTIONS_NOFP_CFI: .cfi_startproc
|
|
; SECTIONS_NOFP_CFI: .cfi_def_cfa_offset 16
|
|
; SECTIONS_NOFP_CFI: .cfi_endproc
|
|
|
|
; SECTIONS_NOFP_CFI: _Z2f3b.__part.1:
|
|
; SECTIONS_NOFP_CFI-NEXT: .cfi_startproc
|
|
; SECTIONS_NOFP_CFI-NEXT: .cfi_def_cfa %rsp, 16
|
|
; SECTIONS_NOFP_CFI: .cfi_endproc
|
|
|
|
; SECTIONS_NOFP_CFI: _Z2f3b.__part.2:
|
|
; SECTIONS_NOFP_CFI-NEXT: .cfi_startproc
|
|
; SECTIONS_NOFP_CFI-NEXT: .cfi_def_cfa %rsp, 16
|
|
; SECTIONS_NOFP_CFI: .cfi_endproc
|
|
|
|
|
|
;; There must be 1 CIE and 3 FDEs.
|
|
|
|
; EH_FRAME: CIE
|
|
; EH_FRAME: DW_CFA_def_cfa
|
|
; EH_FRAME: DW_CFA_offset
|
|
|
|
; EH_FRAME: FDE cie=
|
|
; EH_FRAME: DW_CFA_def_cfa_offset
|
|
; EH_FRAME: DW_CFA_offset
|
|
; EH_FRAME: DW_CFA_def_cfa_register
|
|
|
|
; EH_FRAME: FDE cie=
|
|
; EH_FRAME: DW_CFA_def_cfa
|
|
; EH_FRAME: DW_CFA_offset
|
|
|
|
; EH_FRAME: FDE cie=
|
|
; EH_FRAME: DW_CFA_def_cfa
|
|
; EH_FRAME: DW_CFA_offset
|
|
|
|
; Function Attrs: noinline optnone uwtable
|
|
define dso_local void @_Z2f3b(i1 zeroext %b) {
|
|
entry:
|
|
%b.addr = alloca i8, align 1
|
|
%frombool = zext i1 %b to i8
|
|
store i8 %frombool, ptr %b.addr, align 1
|
|
%0 = load i8, ptr %b.addr, align 1
|
|
%tobool = trunc i8 %0 to i1
|
|
br i1 %tobool, label %if.then, label %if.end
|
|
|
|
if.then: ; preds = %entry
|
|
call void @_Z2f1v()
|
|
br label %if.end
|
|
|
|
if.end: ; preds = %if.then, %entry
|
|
ret void
|
|
}
|
|
|
|
declare dso_local void @_Z2f1v()
|