Files
TheRock/compiler/amd-llvm/polly/test/ScopInfo/scev-div-with-evaluatable-divisor.ll
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

59 lines
2.2 KiB
LLVM

; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output < %s 2>&1 | FileCheck %s
; Derived from test-suite/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c
; The values %mul.i44 is simplified to constant 4 by ScalarEvolution, but
; SCEVAffinator used to check whether the sdiv's argument was constant.
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define void @cfft2(i32 %n, ptr %A) local_unnamed_addr {
entry:
br i1 true, label %for.body.lr.ph, label %for.end
for.body.lr.ph: ; preds = %entry
br label %for.body
for.body: ; preds = %for.inc, %for.body.lr.ph
%mj.017 = phi i32 [ 1, %for.body.lr.ph ], [ poison, %for.inc ]
br i1 true, label %if.else, label %if.then
if.then: ; preds = %for.body
br label %for.inc
if.else: ; preds = %for.body
%mul.i44 = shl i32 %mj.017, 2
%div.i45 = sdiv i32 %n, %mul.i44
br i1 true, label %for.body.i58.lr.ph, label %for.inc
for.body.i58.lr.ph: ; preds = %if.else
br i1 false, label %for.body.i58.us, label %for.body.i58.preheader
for.body.i58.preheader: ; preds = %for.body.i58.lr.ph
br label %for.body.i58
for.body.i58.us: ; preds = %for.body.i58.us, %for.body.i58.lr.ph
br i1 false, label %for.inc, label %for.body.i58.us
for.body.i58: ; preds = %for.body.i58, %for.body.i58.preheader
store double 0.0, ptr %A
%exitcond42 = icmp eq i32 0, %div.i45
br i1 %exitcond42, label %for.inc, label %for.body.i58
for.inc: ; preds = %for.body.i58, %for.body.i58.us, %if.else, %if.then
br i1 undef, label %for.end, label %for.body
for.end: ; preds = %for.inc, %entry
ret void
}
!llvm.ident = !{!0}
!0 = !{!"clang version 3.9.0 (trunk 273249) (llvm/trunk 273255)"}
; CHECK-LABEL: Stmt_for_body_i58
; CHECK-NEXT: Domain :=
; CHECK-NEXT: [n] -> { Stmt_for_body_i58[0] : -3 <= n <= 3 };