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
35 lines
853 B
ArmAsm
35 lines
853 B
ArmAsm
# RUN: llvm-mc -triple=hexagon -filetype=obj %s -o - \
|
|
# RUN: | llvm-objdump --no-print-imm-hex -d - | FileCheck %s
|
|
|
|
# Test coverage for HexagonAsmBackend: exercise branch relaxation for
|
|
# short conditional branches (B9_PCREL, B13_PCREL, B15_PCREL) that need
|
|
# constant extenders when the target is too far away.
|
|
|
|
# A conditional branch with a far target should be relaxed with an
|
|
# extender (immext).
|
|
|
|
# CHECK-LABEL: <test_b15_relax>:
|
|
# CHECK: immext(
|
|
# CHECK: if (p0) jump:nt
|
|
.globl test_b15_relax
|
|
test_b15_relax:
|
|
{
|
|
if (p0) jump:nt .Lfar_target_b15
|
|
}
|
|
.space 70000
|
|
.Lfar_target_b15:
|
|
jumpr lr
|
|
|
|
# CHECK-LABEL: <test_b13_relax>:
|
|
# CHECK: immext(
|
|
# CHECK: if (cmp.eq(r0.new,#0)) jump:nt
|
|
.globl test_b13_relax
|
|
test_b13_relax:
|
|
{
|
|
r0 = r1
|
|
if (cmp.eq(r0.new, #0)) jump:nt .Lfar_target_b13
|
|
}
|
|
.space 10000
|
|
.Lfar_target_b13:
|
|
jumpr lr
|