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
44 lines
1.4 KiB
LLVM
44 lines
1.4 KiB
LLVM
; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=polly-custom<ast>' -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST
|
|
; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=polly<no-default-opts>' -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
|
|
|
|
|
|
; - Test the case where scalar evolution references a loop that is outside
|
|
; of the scop, but does not contain the scop.
|
|
|
|
; AST: {
|
|
; AST-NEXT: #pragma simd
|
|
; AST-NEXT: #pragma omp parallel for
|
|
; AST-NEXT: for (int c0 = 0; c0 < -p_0 + symbol; c0 += 1)
|
|
; AST-NEXT: Stmt_while_body(c0);
|
|
; AST-NEXT: if (p_0 >= symbol)
|
|
; AST-NEXT: Stmt_while_body(0);
|
|
; AST-NEXT: }
|
|
|
|
; IR: @update_model_polly_subfn
|
|
; IR-NOT: @update_model_polly_subfn_1
|
|
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
|
|
@cum_freq = external global [258 x i64], align 16
|
|
|
|
define void @update_model(i64 %symbol) {
|
|
entry:
|
|
br label %for.one
|
|
|
|
for.one:
|
|
%i.1 = phi i64 [ %dec07, %for.one ], [ %symbol, %entry ]
|
|
%dec07 = add nsw i64 %i.1, -1
|
|
br i1 undef, label %for.one, label %while.body
|
|
|
|
while.body:
|
|
%indvar = phi i64 [ %sub42, %while.body ], [ %i.1, %for.one ]
|
|
%sub42 = add nsw i64 %indvar, -1
|
|
%arrayidx44 = getelementptr inbounds [258 x i64], ptr @cum_freq, i64 0, i64 %sub42
|
|
store i64 1, ptr %arrayidx44, align 4
|
|
%cmp40 = icmp sgt i64 %sub42, 0
|
|
br i1 %cmp40, label %while.body, label %while.end
|
|
|
|
while.end:
|
|
ret void
|
|
}
|