Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/Hexagon/swp-peel-prolog-crash.mir
T
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

58 lines
1.7 KiB
YAML

# RUN: llc -mtriple=hexagon -run-pass pipeliner -pipeliner-experimental-cg=true %s -o /dev/null
# REQUIRES: asserts
# Test that the pipeliner does not crash during prolog peeling when the
# preheader terminates with a fallthrough conditional branch.
...
---
name: test
tracksRegLiveness: true
body: |
bb.0:
successors: %bb.3, %bb.1
liveins: $r0, $r1, $r2
%14:intregs = COPY $r2
%13:intregs = COPY $r1
%12:intregs = COPY $r0
%16:predregs = C2_cmpeqi %14, 2
%15:intregs = A2_tfrsi 0
J2_jumpt killed %16, %bb.3, implicit-def dead $pc
J2_jump %bb.1, implicit-def dead $pc
bb.1:
successors: %bb.2
%0:intregs = A2_addi %14, -2
%1:intregs = A2_addi %12, 10
%2:intregs = A2_addi %13, 4
%17:intregs = A2_tfrsi 0
%23:intregs = COPY %0
%24:predregs = IMPLICIT_DEF
J2_loop0r %bb.2, %23, implicit-def $lc0, implicit-def $sa0, implicit-def $usr
J2_jumpt %24, %bb.2, implicit-def dead $pc
bb.2 (machine-block-address-taken):
successors: %bb.3, %bb.2
%3:intregs = PHI %2, %bb.1, %10, %bb.2
%4:intregs = PHI %1, %bb.1, %9, %bb.2
%21:intregs = PHI %1, %bb.1, %22, %bb.2
%6:intregs = PHI %17, %bb.1, %7, %bb.2
%18:intregs, %10:intregs = L2_loadrh_pi %3, 2 :: (load (s16))
%19:intregs, %22:intregs = L2_loadrh_pi %21, 2 :: (load (s16))
%20:intregs = A2_addi %18, 10
%9:intregs = S2_storerh_pi %4, 2, killed %20 :: (store (s16))
%7:intregs = M2_acci %19, %6, %18
ENDLOOP0 %bb.2, implicit-def $pc, implicit-def $lc0, implicit $sa0, implicit $lc0
J2_jump %bb.3, implicit-def dead $pc
bb.3:
%11:intregs = PHI %15, %bb.0, %7, %bb.2
$r0 = COPY %11
PS_jmpret $r31, implicit-def dead $pc, implicit $r0
...