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
50 lines
1.5 KiB
LLVM
50 lines
1.5 KiB
LLVM
; RUN: opt %loadNPMPolly '-passes=polly-custom<detect>' -polly-print-detect -disable-output < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: Valid Region for Scop: bb11 => bb25
|
|
|
|
; Ensure that this test case does not trigger an assertion. At some point,
|
|
; we asserted on scops containing accesses where the access function contained
|
|
; an AddRec expression with a non-constant step expression. This got missed, as
|
|
; this very specific pattern does not seem too common. Even in this test case,
|
|
; it disappears as soon as we turn the infinite loop into a finite loop.
|
|
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
define void @hoge() local_unnamed_addr {
|
|
bb:
|
|
%tmp = alloca [18 x [16 x i32]]
|
|
%tmp1 = alloca [17 x i32]
|
|
br label %bb2
|
|
|
|
bb2:
|
|
%tmp3 = phi i64 [ 0, %bb ], [ %tmp5, %bb2 ]
|
|
%tmp4 = add nuw nsw i64 %tmp3, 2
|
|
%tmp5 = add nuw nsw i64 %tmp3, 1
|
|
br i1 undef, label %bb2, label %bb11
|
|
|
|
bb11:
|
|
%tmp12 = phi i64 [ %tmp23, %bb24 ], [ 1, %bb2 ]
|
|
%tmp14 = getelementptr inbounds [17 x i32], ptr %tmp1, i64 0, i64 1
|
|
br label %bb15
|
|
|
|
bb15:
|
|
%tmp16 = sub nsw i64 %tmp12, 1
|
|
%tmp17 = shl i64 %tmp16, 32
|
|
%tmp18 = ashr exact i64 %tmp17, 32
|
|
%tmp19 = getelementptr inbounds [18 x [16 x i32]], ptr %tmp, i64 0, i64 %tmp4, i64 %tmp18
|
|
%tmp20 = load i32, ptr %tmp19, align 4
|
|
store i32 4, ptr %tmp19
|
|
br label %bb21
|
|
|
|
bb21:
|
|
%tmp23 = add nuw nsw i64 %tmp12, 1
|
|
br i1 true, label %bb24, label %bb25
|
|
|
|
bb24:
|
|
br label %bb11
|
|
|
|
bb25:
|
|
ret void
|
|
}
|