Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/Hexagon/expand-condsets-undefvni.ll
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

50 lines
1.4 KiB
LLVM

; RUN: llc -mtriple=hexagon < %s | FileCheck %s
;
; Check that this compiles successfully.
; CHECK: jumpr r31
target triple = "hexagon"
define i64 @fred(i64 %a0, i64 %a1) local_unnamed_addr #0 {
b2:
%v3 = lshr i64 %a1, 52
%v4 = trunc i64 %v3 to i11
switch i11 %v4, label %b15 [
i11 -1, label %b5
i11 0, label %b14
]
b5: ; preds = %b2
br i1 undef, label %b13, label %b6
b6: ; preds = %b5
%v7 = or i64 %a1, 2251799813685248
br i1 undef, label %b8, label %b10
b8: ; preds = %b6
%v9 = select i1 undef, i64 %v7, i64 undef
br label %b16
b10: ; preds = %b6
br i1 undef, label %b16, label %b11
b11: ; preds = %b10
%v12 = select i1 undef, i64 undef, i64 %v7
br label %b16
b13: ; preds = %b5
br label %b16
b14: ; preds = %b2
br label %b16
b15: ; preds = %b2
br label %b16
b16: ; preds = %b15, %b14, %b13, %b11, %b10, %b8
%v17 = phi i64 [ undef, %b13 ], [ -2251799813685248, %b14 ], [ 0, %b15 ], [ %v12, %b11 ], [ %v9, %b8 ], [ %v7, %b10 ]
ret i64 %v17
}
attributes #0 = { nounwind "target-cpu"="hexagonv62" }