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
47 lines
1.8 KiB
LLVM
47 lines
1.8 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
|
; RUN: opt < %s -passes=instcombine -S | FileCheck %s
|
|
|
|
; OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38057
|
|
define void @PR51824(<4 x i16> %idxs, ptr %ptr, i1 %c1, ptr %ptr2) {
|
|
; CHECK-LABEL: @PR51824(
|
|
; CHECK-NEXT: entry:
|
|
; CHECK-NEXT: br label [[BB:%.*]]
|
|
; CHECK: BB:
|
|
; CHECK-NEXT: br i1 [[C1:%.*]], label [[BB]], label [[BB1:%.*]]
|
|
; CHECK: BB1:
|
|
; CHECK-NEXT: ret void
|
|
;
|
|
entry:
|
|
%C7 = icmp sgt i1 false, true
|
|
%B2 = lshr i16 -32768, 0
|
|
%C1 = icmp uge i16 %B2, %B2
|
|
%E9 = extractelement <4 x i16> zeroinitializer, i16 %B2
|
|
%I2 = insertelement <4 x i16> poison, i16 %E9, i16 0
|
|
%i = sext <4 x i16> %I2 to <4 x i32>
|
|
%i1 = getelementptr inbounds i64, ptr null, <4 x i32> %i
|
|
%i2 = ptrtoint <4 x ptr> %i1 to <4 x i32>
|
|
%E2 = extractelement <4 x i32> %i2, i16 0
|
|
br label %BB
|
|
|
|
BB: ; preds = %BB, %entry
|
|
%A15 = alloca <4 x i32>, align 16
|
|
%L2 = load <4 x i32>, ptr %A15, align 16
|
|
%G1 = getelementptr i64, ptr null, i32 %E2
|
|
%i3 = getelementptr inbounds i64, ptr %G1, <4 x i16> %idxs
|
|
%i4 = ptrtoint <4 x ptr> %i3 to <4 x i32>
|
|
%E22 = extractelement <4 x i32> %L2, i1 false
|
|
%E8 = extractelement <4 x i32> %i4, i1 false
|
|
%I10 = insertelement <4 x i32> undef, i32 undef, i32 %E8
|
|
%I19 = insertelement <4 x i32> %I10, i32 %E22, i16 0
|
|
%S7 = shufflevector <4 x i32> %I19, <4 x i32> %L2, <4 x i32> poison
|
|
%I8 = insertelement <4 x i32> %I19, i32 0, i1 %C1
|
|
%E10 = extractelement <4 x i32> %I8, i1 poison
|
|
store i32 %E10, ptr %ptr, align 4
|
|
br i1 %c1, label %BB, label %BB1
|
|
|
|
BB1: ; preds = %BB
|
|
%S8 = shufflevector <4 x i32> %I10, <4 x i32> %S7, <4 x i32> undef
|
|
store <4 x i32> %S8, ptr %ptr2, align 16
|
|
ret void
|
|
}
|