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
28 lines
1.1 KiB
LLVM
28 lines
1.1 KiB
LLVM
; RUN: llc < %s -o /dev/null
|
|
|
|
;
|
|
; Test that we dont get a crash after an invalid build_vector combine.
|
|
;
|
|
|
|
target triple = "aarch64-unknown-linux-gnu"
|
|
define void @test_crash(ptr %dst_ptr) {
|
|
entry:
|
|
%vec_load = load <4 x i16>, ptr undef, align 8
|
|
%0 = sext <4 x i16> %vec_load to <4 x i32>
|
|
%add71vec = add nsw <4 x i32> %0, <i32 32, i32 32, i32 32, i32 32>
|
|
%add104vec = add nsw <4 x i32> %add71vec, zeroinitializer
|
|
%add105vec = add nsw <4 x i32> zeroinitializer, %add104vec
|
|
%vec = lshr <4 x i32> %add105vec, <i32 6, i32 6, i32 6, i32 6>
|
|
%1 = trunc <4 x i32> %vec to <4 x i16>
|
|
%2 = shufflevector <4 x i16> %1, <4 x i16> undef, <2 x i32> <i32 1, i32 2>
|
|
%3 = sext <2 x i16> %2 to <2 x i32>
|
|
%4 = shufflevector <2 x i32> %3, <2 x i32> poison, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef>
|
|
%5 = shufflevector <4 x i32> undef, <4 x i32> %4, <4 x i32> <i32 0, i32 4, i32 5, i32 undef>
|
|
%6 = insertelement <4 x i32> %5, i32 undef, i64 3
|
|
%7 = add nsw <4 x i32> %6, zeroinitializer
|
|
%8 = select <4 x i1> zeroinitializer, <4 x i32> %7, <4 x i32> undef
|
|
%9 = trunc <4 x i32> %8 to <4 x i8>
|
|
store <4 x i8> %9, ptr %dst_ptr, align 1
|
|
ret void
|
|
}
|