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
54 lines
1.6 KiB
LLVM
54 lines
1.6 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr9 < %s | FileCheck %s
|
|
|
|
define void @f(ptr, ptr, ptr) {
|
|
; Check we don't assert and this is not a Hardware Loop
|
|
; CHECK-LABEL: f:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: cmpld 3, 4
|
|
; CHECK-NEXT: beqlr 0
|
|
; CHECK-NEXT: # %bb.1:
|
|
; CHECK-NEXT: not 3, 3
|
|
; CHECK-NEXT: add 3, 3, 4
|
|
; CHECK-NEXT: li 4, 15
|
|
; CHECK-NEXT: cmpldi 3, 15
|
|
; CHECK-NEXT: isellt 3, 3, 4
|
|
; CHECK-NEXT: addi 4, 3, 1
|
|
; CHECK-NEXT: ld 3, 8(5)
|
|
; CHECK-NEXT: mtctr 4
|
|
; CHECK-NEXT: .p2align 4
|
|
; CHECK-NEXT: .LBB0_2:
|
|
; CHECK-NEXT: sldi 3, 3, 4
|
|
; CHECK-NEXT: bdnz .LBB0_2
|
|
; CHECK-NEXT: # %bb.3:
|
|
; CHECK-NEXT: std 3, 8(5)
|
|
; CHECK-NEXT: blr
|
|
|
|
%4 = icmp eq ptr %0, %1
|
|
br i1 %4, label %9, label %5
|
|
|
|
5: ; preds = %3
|
|
%6 = getelementptr inbounds i64, ptr %2, i64 1
|
|
%7 = load i64, ptr %6, align 8
|
|
br label %10
|
|
|
|
8: ; preds = %10
|
|
store i64 %14, ptr %6, align 8
|
|
br label %9
|
|
|
|
9: ; preds = %8, %3
|
|
ret void
|
|
|
|
10: ; preds = %5, %10
|
|
%11 = phi i64 [ %7, %5 ], [ %14, %10 ]
|
|
%12 = phi i32 [ 0, %5 ], [ %15, %10 ]
|
|
%13 = phi ptr [ %0, %5 ], [ %16, %10 ]
|
|
%14 = shl nsw i64 %11, 4
|
|
%15 = add nuw nsw i32 %12, 1
|
|
%16 = getelementptr inbounds i8, ptr %13, i64 1
|
|
%17 = icmp ugt i32 %12, 14
|
|
%18 = icmp eq ptr %16, %1
|
|
%19 = or i1 %18, %17
|
|
br i1 %19, label %8, label %10
|
|
}
|