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
155 lines
6.5 KiB
YAML
155 lines
6.5 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
|
|
# RUN: llc -o - %s -mtriple=aarch64-pc-windows-msvc19.33.0 -run-pass=branch-folder | FileCheck %s
|
|
|
|
# Check that the dead blocks in bb.2 and bb.3 are correctly handled by BranchFolders EHScopeMembership.
|
|
|
|
--- |
|
|
declare i32 @__CxxFrameHandler3(...)
|
|
|
|
declare ptr @"??2@YAPEAX_K@Z"(i64)
|
|
|
|
define ptr @test(ptr writeonly captures(none) %0, ptr captures(none) %1) personality ptr @__CxxFrameHandler3 {
|
|
unreachable
|
|
}
|
|
...
|
|
---
|
|
name: test
|
|
tracksRegLiveness: true
|
|
hasEHContTarget: false
|
|
hasEHScopes: true
|
|
hasEHFunclets: true
|
|
body: |
|
|
; CHECK-LABEL: name: test
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: successors: %bb.1(0x7ffff800), %bb.2(0x00000800)
|
|
; CHECK-NEXT: liveins: $x0, $x1, $x20, $x19, $lr
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: early-clobber $sp = frame-setup STPXpre killed $x19, killed $x20, $sp, -6 :: (store (s64)), (store (s64))
|
|
; CHECK-NEXT: frame-setup SEH_SaveRegP_X 19, 20, -48
|
|
; CHECK-NEXT: frame-setup STPXi killed $fp, killed $lr, $sp, 2 :: (store (s64)), (store (s64))
|
|
; CHECK-NEXT: frame-setup SEH_SaveFPLR 16
|
|
; CHECK-NEXT: $fp = frame-setup ADDXri $sp, 16, 0
|
|
; CHECK-NEXT: frame-setup SEH_AddFP 16
|
|
; CHECK-NEXT: frame-setup SEH_PrologEnd
|
|
; CHECK-NEXT: $x2 = MOVi64imm -2
|
|
; CHECK-NEXT: STURXi killed $x2, $fp, 16
|
|
; CHECK-NEXT: renamable $x20 = COPY $x1
|
|
; CHECK-NEXT: renamable $x19 = COPY $x0
|
|
; CHECK-NEXT: EH_LABEL <mcsymbol .Ltmp0>
|
|
; CHECK-NEXT: $x0 = COPY $xzr
|
|
; CHECK-NEXT: BL @"??2@YAPEAX_K@Z", csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit-def $sp, implicit-def $x0
|
|
; CHECK-NEXT: EH_LABEL <mcsymbol .Ltmp0>
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: liveins: $x0, $x19, $x20
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: STRXui $xzr, renamable $x20, 1 :: (store (s64), align 1)
|
|
; CHECK-NEXT: STRXui $xzr, renamable $x20, 0 :: (store (s64), align 1)
|
|
; CHECK-NEXT: STRXui $xzr, killed renamable $x20, 2 :: (store (s64), align 1)
|
|
; CHECK-NEXT: STRXui killed renamable $x0, renamable $x19, 0 :: (store (s64))
|
|
; CHECK-NEXT: $x0 = COPY $xzr
|
|
; CHECK-NEXT: frame-destroy SEH_EpilogStart
|
|
; CHECK-NEXT: $fp, $lr = frame-destroy LDPXi $sp, 2 :: (load (s64)), (load (s64))
|
|
; CHECK-NEXT: frame-destroy SEH_SaveFPLR 16
|
|
; CHECK-NEXT: early-clobber $sp, $x19, $x20 = frame-destroy LDPXpost $sp, 6 :: (load (s64)), (load (s64))
|
|
; CHECK-NEXT: frame-destroy SEH_SaveRegP_X 19, 20, -48
|
|
; CHECK-NEXT: frame-destroy SEH_EpilogEnd
|
|
; CHECK-NEXT: RET_ReallyLR implicit $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2 (landing-pad, ehfunclet-entry, ehscope-entry):
|
|
; CHECK-NEXT: liveins: $x20, $x19, $lr
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: early-clobber $sp = frame-setup STPXpre killed $x19, killed $x20, $sp, -4 :: (store (s64)), (store (s64))
|
|
; CHECK-NEXT: frame-setup SEH_SaveRegP_X 19, 20, -32
|
|
; CHECK-NEXT: frame-setup STPXi killed $fp, killed $lr, $sp, 2 :: (store (s64)), (store (s64))
|
|
; CHECK-NEXT: frame-setup SEH_SaveFPLR 16
|
|
; CHECK-NEXT: frame-setup SEH_PrologEnd
|
|
; CHECK-NEXT: renamable $x8 = COPY $xzr
|
|
; CHECK-NEXT: STRWui $wzr, killed renamable $x8, 0 :: (volatile store (s32) into `ptr null`, align 4294967296)
|
|
; CHECK-NEXT: frame-destroy SEH_EpilogStart
|
|
; CHECK-NEXT: $fp, $lr = frame-destroy LDPXi $sp, 2 :: (load (s64)), (load (s64))
|
|
; CHECK-NEXT: frame-destroy SEH_SaveFPLR 16
|
|
; CHECK-NEXT: early-clobber $sp, $x19, $x20 = frame-destroy LDPXpost $sp, 4 :: (load (s64)), (load (s64))
|
|
; CHECK-NEXT: frame-destroy SEH_SaveRegP_X 19, 20, -32
|
|
; CHECK-NEXT: frame-destroy SEH_EpilogEnd
|
|
; CHECK-NEXT: CLEANUPRET
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.3:
|
|
; CHECK-NEXT: successors: %bb.3(0x80000000)
|
|
; CHECK-NEXT: liveins: $x8
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: early-clobber renamable $x8 = STRXpost $xzr, killed renamable $x8, -8 :: (store (s64))
|
|
; CHECK-NEXT: B %bb.3
|
|
bb.0:
|
|
successors: %bb.1(0x7ffff800), %bb.5(0x00000800)
|
|
liveins: $x0, $x1, $x20, $x19, $lr
|
|
|
|
early-clobber $sp = frame-setup STPXpre killed $x19, killed $x20, $sp, -6 :: (store (s64)), (store (s64))
|
|
frame-setup SEH_SaveRegP_X 19, 20, -48
|
|
frame-setup STPXi killed $fp, killed $lr, $sp, 2 :: (store (s64)), (store (s64))
|
|
frame-setup SEH_SaveFPLR 16
|
|
$fp = frame-setup ADDXri $sp, 16, 0
|
|
frame-setup SEH_AddFP 16
|
|
frame-setup SEH_PrologEnd
|
|
$x2 = MOVi64imm -2
|
|
STURXi killed $x2, $fp, 16
|
|
renamable $x20 = COPY $x1
|
|
renamable $x19 = COPY $x0
|
|
EH_LABEL <mcsymbol .Ltmp0>
|
|
$x0 = COPY $xzr
|
|
BL @"??2@YAPEAX_K@Z", csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit-def $sp, implicit-def $x0
|
|
EH_LABEL <mcsymbol .Ltmp0>
|
|
B %bb.1
|
|
|
|
bb.1:
|
|
successors: %bb.4(0x30000000)
|
|
liveins: $x0, $x19, $x20
|
|
|
|
STRXui $xzr, renamable $x20, 1 :: (store (s64), align 1)
|
|
STRXui $xzr, renamable $x20, 0 :: (store (s64), align 1)
|
|
STRXui $xzr, killed renamable $x20, 2 :: (store (s64), align 1)
|
|
STRXui killed renamable $x0, renamable $x19, 0 :: (store (s64))
|
|
B %bb.4
|
|
|
|
bb.2:
|
|
successors: %bb.3(0x80000000)
|
|
liveins: $x19
|
|
|
|
renamable $x8 = SUBXri killed renamable $x19, 8, 0
|
|
|
|
bb.3:
|
|
successors: %bb.3(0x80000000)
|
|
liveins: $x8
|
|
|
|
early-clobber renamable $x8 = STRXpost $xzr, killed renamable $x8, -8 :: (store (s64))
|
|
B %bb.3
|
|
|
|
bb.4:
|
|
$x0 = COPY $xzr
|
|
frame-destroy SEH_EpilogStart
|
|
$fp, $lr = frame-destroy LDPXi $sp, 2 :: (load (s64)), (load (s64))
|
|
frame-destroy SEH_SaveFPLR 16
|
|
early-clobber $sp, $x19, $x20 = frame-destroy LDPXpost $sp, 6 :: (load (s64)), (load (s64))
|
|
frame-destroy SEH_SaveRegP_X 19, 20, -48
|
|
frame-destroy SEH_EpilogEnd
|
|
RET_ReallyLR implicit $x0
|
|
|
|
bb.5 (landing-pad, ehfunclet-entry, ehscope-entry):
|
|
liveins: $x20, $x19, $lr
|
|
|
|
early-clobber $sp = frame-setup STPXpre killed $x19, killed $x20, $sp, -4 :: (store (s64)), (store (s64))
|
|
frame-setup SEH_SaveRegP_X 19, 20, -32
|
|
frame-setup STPXi killed $fp, killed $lr, $sp, 2 :: (store (s64)), (store (s64))
|
|
frame-setup SEH_SaveFPLR 16
|
|
frame-setup SEH_PrologEnd
|
|
renamable $x8 = COPY $xzr
|
|
STRWui $wzr, killed renamable $x8, 0 :: (volatile store (s32) into `ptr null`, align 4294967296)
|
|
frame-destroy SEH_EpilogStart
|
|
$fp, $lr = frame-destroy LDPXi $sp, 2 :: (load (s64)), (load (s64))
|
|
frame-destroy SEH_SaveFPLR 16
|
|
early-clobber $sp, $x19, $x20 = frame-destroy LDPXpost $sp, 4 :: (load (s64)), (load (s64))
|
|
frame-destroy SEH_SaveRegP_X 19, 20, -32
|
|
frame-destroy SEH_EpilogEnd
|
|
CLEANUPRET
|
|
...
|