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
37 lines
1.2 KiB
LLVM
37 lines
1.2 KiB
LLVM
; REQUIRES: asserts
|
|
; RUN: opt -passes='print<access-info>' -debug-only=loop-accesses \
|
|
; RUN: -disable-output -S %s 2>&1 | FileCheck %s
|
|
|
|
define void @negative_step(ptr nocapture %A) {
|
|
; CHECK-LABEL: LAA: Checking a loop in 'negative_step' from negative_step.c:5:2
|
|
entry:
|
|
%A.plus.1 = getelementptr i32, ptr %A, i64 1
|
|
br label %loop
|
|
|
|
loop:
|
|
%iv = phi i64 [ 1022, %entry ], [ %iv.next, %loop ]
|
|
%gep.A = getelementptr inbounds i32, ptr %A, i64 %iv
|
|
%l = load i32, ptr %gep.A, align 4
|
|
%add = add nsw i32 %l, 1
|
|
%gep.A.plus.1 = getelementptr i32, ptr %A.plus.1, i64 %iv
|
|
store i32 %add, ptr %gep.A.plus.1, align 4
|
|
%iv.next = add nsw i64 %iv, -1
|
|
%cmp.not = icmp eq i64 %iv, 0
|
|
br i1 %cmp.not, label %exit, label %loop, !dbg !2
|
|
|
|
exit:
|
|
ret void
|
|
}
|
|
|
|
!llvm.module.flags = !{!5, !6, !7}
|
|
|
|
!0 = !DIFile(filename: "negative_step.c", directory: "/")
|
|
!1 = distinct !DISubprogram(name: "negative_step", scope: !0, file: !0, type: !8, unit: !4)
|
|
!2 = !DILocation(line: 5, column: 2, scope: !1)
|
|
!4 = distinct !DICompileUnit(language: DW_LANG_C99, file: !0, producer: "clang")
|
|
!5 = !{i32 1, !"Debug Info Version", i32 3}
|
|
!6 = !{i32 2, !"Dwarf Version", i32 2}
|
|
!7 = !{i32 1, !"PIC Level", i32 2}
|
|
!8 = !DISubroutineType(types: !9)
|
|
!9 = !{null}
|