Files
TheRock/compiler/amd-llvm/llvm/test/Transforms/IndVarSimplify/X86/pr25047.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

50 lines
1.9 KiB
LLVM

; RUN: opt -passes=indvars -S < %s | FileCheck %s
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.11.0"
define void @fn1(i1 %c0, i1 %c1) {
; CHECK-LABEL: @fn1(
entry:
br i1 %c0, label %for.end.34, label %for.cond.1thread-pre-split
for.cond.loopexit: ; preds = %for.end.29, %for.end.7
%f.lcssa = phi i32 [ %f.1, %for.end.29 ], [ %f.1, %for.end.7 ]
br i1 %c1, label %for.end.34, label %for.cond.1thread-pre-split
for.cond.1thread-pre-split: ; preds = %for.cond.loopexit, %entry
%f.047 = phi i32 [ %f.lcssa, %for.cond.loopexit ], [ 0, %entry ]
br label %for.cond.1
for.cond.1: ; preds = %for.cond.1, %for.cond.1thread-pre-split
br i1 %c1, label %for.cond.4, label %for.cond.1
for.cond.4: ; preds = %for.end.29, %for.cond.1
%f.1 = phi i32 [ 0, %for.end.29 ], [ %f.047, %for.cond.1 ]
br label %for.cond.5
for.cond.5: ; preds = %for.cond.5, %for.cond.4
%h.0 = phi i32 [ 0, %for.cond.4 ], [ %inc, %for.cond.5 ]
%cmp = icmp slt i32 %h.0, 1
%inc = add nsw i32 %h.0, 1
br i1 %cmp, label %for.cond.5, label %for.end.7
for.end.7: ; preds = %for.cond.5
%g.lcssa = phi i32 [ %h.0, %for.cond.5 ]
%tobool10 = icmp eq i32 %g.lcssa, 0
br i1 %tobool10, label %for.end.8, label %for.cond.loopexit
for.end.8: ; preds = %for.end.7
br i1 %c1, label %for.cond.19, label %for.end.29
for.cond.19: ; preds = %for.cond.19, %for.end.8
br label %for.cond.19
for.end.29: ; preds = %for.end.8
%tobool30 = icmp eq i32 %f.1, 0
br i1 %tobool30, label %for.cond.4, label %for.cond.loopexit
for.end.34: ; preds = %for.cond.loopexit, %entry
ret void
}