Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/Generic/2006-11-20-DAGCombineCrash.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

42 lines
1.5 KiB
LLVM

; RUN: llc < %s
; PR1011
%struct.mng_data = type { ptr, i32, i32, i32, i8, i8, i32, i32, i32, i32, i32 }
define void @mng_display_bgr565() {
entry:
br i1 false, label %bb.preheader, label %return
bb.preheader: ; preds = %entry
br i1 false, label %cond_true48, label %cond_next80
cond_true48: ; preds = %bb.preheader
%tmp = load i8, ptr null ; <i8> [#uses=1]
%tmp51 = zext i8 %tmp to i16 ; <i16> [#uses=1]
%tmp99 = load i8, ptr null ; <i8> [#uses=1]
%tmp54 = bitcast i8 %tmp99 to i8 ; <i8> [#uses=1]
%tmp54.upgrd.1 = zext i8 %tmp54 to i32 ; <i32> [#uses=1]
%tmp55 = lshr i32 %tmp54.upgrd.1, 3 ; <i32> [#uses=1]
%tmp55.upgrd.2 = trunc i32 %tmp55 to i16 ; <i16> [#uses=1]
%tmp52 = shl i16 %tmp51, 5 ; <i16> [#uses=1]
%tmp56 = and i16 %tmp55.upgrd.2, 28 ; <i16> [#uses=1]
%tmp57 = or i16 %tmp56, %tmp52 ; <i16> [#uses=1]
%tmp60 = zext i16 %tmp57 to i32 ; <i32> [#uses=1]
%tmp62 = xor i32 0, 65535 ; <i32> [#uses=1]
%tmp63 = mul i32 %tmp60, %tmp62 ; <i32> [#uses=1]
%tmp65 = add i32 0, %tmp63 ; <i32> [#uses=1]
%tmp69 = add i32 0, %tmp65 ; <i32> [#uses=1]
%tmp70 = lshr i32 %tmp69, 16 ; <i32> [#uses=1]
%tmp70.upgrd.3 = trunc i32 %tmp70 to i16 ; <i16> [#uses=1]
%tmp75 = lshr i16 %tmp70.upgrd.3, 8 ; <i16> [#uses=1]
%tmp75.upgrd.4 = trunc i16 %tmp75 to i8 ; <i8> [#uses=1]
%tmp76 = lshr i8 %tmp75.upgrd.4, 5 ; <i8> [#uses=1]
store i8 %tmp76, ptr null
ret void
cond_next80: ; preds = %bb.preheader
ret void
return: ; preds = %entry
ret void
}