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.1 KiB
LLVM
63 lines
2.1 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 4
|
|
; RUN: opt -disable-output "-passes=print<scalar-evolution>" -scalar-evolution-classify-expressions=0 < %s 2>&1 | FileCheck %s
|
|
|
|
define void @f(i32 %n, ptr %ptr) {
|
|
;
|
|
; CHECK-LABEL: 'f'
|
|
; CHECK-NEXT: Determining loop execution counts for: @f
|
|
; CHECK-NEXT: Loop %loop: <multiple exits> Unpredictable backedge-taken count.
|
|
; CHECK-NEXT: exit count for loop: i32 0
|
|
; CHECK-NEXT: exit count for be: ***COULDNOTCOMPUTE***
|
|
; CHECK-NEXT: Loop %loop: constant max backedge-taken count is i32 0
|
|
; CHECK-NEXT: Loop %loop: symbolic max backedge-taken count is i32 0
|
|
; CHECK-NEXT: symbolic max exit count for loop: i32 0
|
|
; CHECK-NEXT: symbolic max exit count for be: ***COULDNOTCOMPUTE***
|
|
;
|
|
entry:
|
|
br label %loop
|
|
|
|
loop:
|
|
%iv = phi i32 [ 0, %entry ], [ %iv.inc, %be ]
|
|
%iv.inc = add i32 %iv, 1
|
|
%unswitch_cond_root = icmp ne i32 %iv.inc, 42
|
|
%us.0 = and i1 %unswitch_cond_root, %unswitch_cond_root
|
|
%us.1 = and i1 %us.0, %us.0
|
|
%us.2 = and i1 %us.1, %us.1
|
|
%us.3 = and i1 %us.2, %us.2
|
|
%us.4 = and i1 %us.3, %us.3
|
|
%us.5 = and i1 %us.4, %us.4
|
|
%us.6 = and i1 %us.5, %us.5
|
|
%us.7 = and i1 %us.6, %us.6
|
|
%us.8 = and i1 %us.7, %us.7
|
|
%us.9 = and i1 %us.8, %us.8
|
|
%us.10 = and i1 %us.9, %us.9
|
|
%us.11 = and i1 %us.10, %us.10
|
|
%us.12 = and i1 %us.11, %us.11
|
|
%us.13 = and i1 %us.12, %us.12
|
|
%us.14 = and i1 %us.13, %us.13
|
|
%us.15 = and i1 %us.14, %us.14
|
|
%us.16 = and i1 %us.15, %us.15
|
|
%us.17 = and i1 %us.16, %us.16
|
|
%us.18 = and i1 %us.17, %us.17
|
|
%us.19 = and i1 %us.18, %us.18
|
|
%us.20 = and i1 %us.19, %us.19
|
|
%us.21 = and i1 %us.20, %us.20
|
|
%us.22 = and i1 %us.21, %us.21
|
|
%us.23 = and i1 %us.22, %us.22
|
|
%us.24 = and i1 %us.23, %us.23
|
|
%us.25 = and i1 %us.24, %us.24
|
|
%us.26 = and i1 %us.25, %us.25
|
|
%us.27 = and i1 %us.26, %us.26
|
|
%us.28 = and i1 %us.27, %us.27
|
|
%us.29 = and i1 %us.28, %us.28
|
|
br i1 %us.29, label %leave, label %be
|
|
|
|
be:
|
|
store volatile i32 0, ptr %ptr
|
|
%becond = icmp ult i32 %iv.inc, %n
|
|
br i1 %becond, label %leave, label %loop
|
|
|
|
leave:
|
|
ret void
|
|
}
|