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
74 lines
3.2 KiB
LLVM
74 lines
3.2 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
|
|
; RUN: llc -mtriple=aarch64 -mattr=+sve < %s | FileCheck %s
|
|
|
|
; Test that we do not end in an infinite loop (https://github.com/llvm/llvm-project/issues/63322)
|
|
|
|
declare void @llvm.masked.scatter.nxv16i8.nxv16p0(<vscale x 16 x i8>, <vscale x 16 x ptr>, i32 immarg, <vscale x 16 x i1>)
|
|
|
|
define fastcc i8 @allocno_reload_assign(ptr %p) {
|
|
; CHECK-LABEL: allocno_reload_assign:
|
|
; CHECK: // %bb.0:
|
|
; CHECK-NEXT: movi d0, #0000000000000000
|
|
; CHECK-NEXT: ptrue p0.d
|
|
; CHECK-NEXT: cmpeq p1.d, p0/z, z0.d, #0
|
|
; CHECK-NEXT: uzp1 p0.s, p1.s, p0.s
|
|
; CHECK-NEXT: uzp1 p0.h, p0.h, p0.h
|
|
; CHECK-NEXT: uzp1 p8.b, p0.b, p0.b
|
|
; CHECK-NEXT: mov z0.b, p8/z, #1 // =0x1
|
|
; CHECK-NEXT: fmov w8, s0
|
|
; CHECK-NEXT: movi v0.2d, #0000000000000000
|
|
; CHECK-NEXT: mvn w8, w8
|
|
; CHECK-NEXT: sbfx x8, x8, #0, #1
|
|
; CHECK-NEXT: whilelo p0.b, xzr, x8
|
|
; CHECK-NEXT: punpklo p1.h, p0.b
|
|
; CHECK-NEXT: punpkhi p0.h, p0.b
|
|
; CHECK-NEXT: punpklo p2.h, p1.b
|
|
; CHECK-NEXT: punpkhi p4.h, p1.b
|
|
; CHECK-NEXT: punpklo p6.h, p0.b
|
|
; CHECK-NEXT: punpkhi p0.h, p0.b
|
|
; CHECK-NEXT: punpklo p1.h, p2.b
|
|
; CHECK-NEXT: punpkhi p2.h, p2.b
|
|
; CHECK-NEXT: punpklo p3.h, p4.b
|
|
; CHECK-NEXT: punpkhi p4.h, p4.b
|
|
; CHECK-NEXT: punpklo p5.h, p6.b
|
|
; CHECK-NEXT: punpkhi p6.h, p6.b
|
|
; CHECK-NEXT: punpklo p7.h, p0.b
|
|
; CHECK-NEXT: punpkhi p0.h, p0.b
|
|
; CHECK-NEXT: .LBB0_1: // =>This Inner Loop Header: Depth=1
|
|
; CHECK-NEXT: uunpklo z1.h, z0.b
|
|
; CHECK-NEXT: uunpklo z2.s, z1.h
|
|
; CHECK-NEXT: uunpkhi z1.s, z1.h
|
|
; CHECK-NEXT: uunpklo z3.d, z2.s
|
|
; CHECK-NEXT: uunpkhi z2.d, z2.s
|
|
; CHECK-NEXT: st1b { z3.d }, p1, [z0.d]
|
|
; CHECK-NEXT: st1b { z2.d }, p2, [z0.d]
|
|
; CHECK-NEXT: uunpklo z2.d, z1.s
|
|
; CHECK-NEXT: uunpkhi z1.d, z1.s
|
|
; CHECK-NEXT: st1b { z2.d }, p3, [z0.d]
|
|
; CHECK-NEXT: uunpkhi z2.h, z0.b
|
|
; CHECK-NEXT: uunpklo z3.s, z2.h
|
|
; CHECK-NEXT: uunpkhi z2.s, z2.h
|
|
; CHECK-NEXT: st1b { z1.d }, p4, [z0.d]
|
|
; CHECK-NEXT: uunpklo z1.d, z3.s
|
|
; CHECK-NEXT: st1b { z1.d }, p5, [z0.d]
|
|
; CHECK-NEXT: uunpkhi z1.d, z3.s
|
|
; CHECK-NEXT: st1b { z1.d }, p6, [z0.d]
|
|
; CHECK-NEXT: uunpklo z1.d, z2.s
|
|
; CHECK-NEXT: st1b { z1.d }, p7, [z0.d]
|
|
; CHECK-NEXT: uunpkhi z1.d, z2.s
|
|
; CHECK-NEXT: st1b { z1.d }, p0, [z0.d]
|
|
; CHECK-NEXT: str p8, [x0]
|
|
; CHECK-NEXT: b .LBB0_1
|
|
br label %1
|
|
|
|
1: ; preds = %1, %0
|
|
%constexpr = icmp eq <vscale x 16 x ptr> insertelement (<vscale x 16 x ptr> poison, ptr null, i64 0), zeroinitializer
|
|
%constexpr1 = shufflevector <vscale x 16 x i1> %constexpr, <vscale x 16 x i1> poison, <vscale x 16 x i32> zeroinitializer
|
|
%constexpr2 = xor <vscale x 16 x i1> %constexpr1, shufflevector (<vscale x 16 x i1> insertelement (<vscale x 16 x i1> poison, i1 true, i64 0), <vscale x 16 x i1> poison, <vscale x 16 x i32> zeroinitializer)
|
|
call void @llvm.masked.scatter.nxv16i8.nxv16p0(<vscale x 16 x i8> zeroinitializer, <vscale x 16 x ptr> zeroinitializer, i32 0, <vscale x 16 x i1> %constexpr2)
|
|
store <vscale x 16 x i1> %constexpr, ptr %p, align 16
|
|
br label %1
|
|
}
|
|
|
|
uselistorder <vscale x 16 x i1> poison, { 1, 2, 0 }
|