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
63 lines
2.4 KiB
LLVM
63 lines
2.4 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr9 -verify-machineinstrs | FileCheck %s
|
|
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr9 -verify-machineinstrs | FileCheck %s
|
|
; RUN: llc < %s -mtriple=powerpc64-unknown-aix -mcpu=pwr9 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK-AIX-64
|
|
; RUN: llc < %s -mtriple=powerpc-unknown-aix -mcpu=pwr9 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK-AIX-32
|
|
|
|
define dso_local signext i32 @test(<4 x i32> %a, <4 x i32> %b, <4 x i32> %c) local_unnamed_addr {
|
|
; CHECK-LABEL: test:
|
|
; CHECK: # %bb.0: # %entry
|
|
; CHECK-NEXT: vcmpgtsw. 2, 2, 3
|
|
; CHECK-NEXT: bge 6, .LBB0_2
|
|
; CHECK-NEXT: # %bb.1: # %land.rhs
|
|
; CHECK-NEXT: vcmpgtsw. 2, 4, 3
|
|
; CHECK-NEXT: mfocrf 3, 2
|
|
; CHECK-NEXT: rlwinm 3, 3, 25, 31, 31
|
|
; CHECK-NEXT: blr
|
|
; CHECK-NEXT: .LBB0_2:
|
|
; CHECK-NEXT: li 3, 0
|
|
; CHECK-NEXT: blr
|
|
;
|
|
; CHECK-AIX-64-LABEL: test:
|
|
; CHECK-AIX-64: # %bb.0: # %entry
|
|
; CHECK-AIX-64-NEXT: vcmpgtsw. 2, 2, 3
|
|
; CHECK-AIX-64-NEXT: bge 6, L..BB0_2
|
|
; CHECK-AIX-64-NEXT: # %bb.1: # %land.rhs
|
|
; CHECK-AIX-64-NEXT: vcmpgtsw. 2, 4, 3
|
|
; CHECK-AIX-64-NEXT: mfocrf 3, 2
|
|
; CHECK-AIX-64-NEXT: rlwinm 3, 3, 25, 31, 31
|
|
; CHECK-AIX-64-NEXT: blr
|
|
; CHECK-AIX-64-NEXT: L..BB0_2:
|
|
; CHECK-AIX-64-NEXT: li 3, 0
|
|
; CHECK-AIX-64-NEXT: blr
|
|
;
|
|
; CHECK-AIX-32-LABEL: test:
|
|
; CHECK-AIX-32: # %bb.0: # %entry
|
|
; CHECK-AIX-32-NEXT: vcmpgtsw. 2, 2, 3
|
|
; CHECK-AIX-32-NEXT: bge 6, L..BB0_2
|
|
; CHECK-AIX-32-NEXT: # %bb.1: # %land.rhs
|
|
; CHECK-AIX-32-NEXT: vcmpgtsw. 2, 4, 3
|
|
; CHECK-AIX-32-NEXT: mfocrf 3, 2
|
|
; CHECK-AIX-32-NEXT: rlwinm 3, 3, 25, 31, 31
|
|
; CHECK-AIX-32-NEXT: blr
|
|
; CHECK-AIX-32-NEXT: L..BB0_2:
|
|
; CHECK-AIX-32-NEXT: li 3, 0
|
|
; CHECK-AIX-32-NEXT: blr
|
|
entry:
|
|
%0 = tail call i32 @llvm.ppc.altivec.vcmpgtsw.p(i32 2, <4 x i32> %a, <4 x i32> %b)
|
|
%tobool.not = icmp eq i32 %0, 0
|
|
br i1 %tobool.not, label %land.end, label %land.rhs
|
|
|
|
land.rhs: ; preds = %entry
|
|
%1 = tail call i32 @llvm.ppc.altivec.vcmpgtsw.p(i32 2, <4 x i32> %c, <4 x i32> %b)
|
|
%tobool1 = icmp ne i32 %1, 0
|
|
%phi.cast = zext i1 %tobool1 to i32
|
|
br label %land.end
|
|
|
|
land.end: ; preds = %land.rhs, %entry
|
|
%2 = phi i32 [ 0, %entry ], [ %phi.cast, %land.rhs ]
|
|
ret i32 %2
|
|
}
|
|
|
|
declare i32 @llvm.ppc.altivec.vcmpgtsw.p(i32, <4 x i32>, <4 x i32>)
|