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
72 lines
2.7 KiB
LLVM
72 lines
2.7 KiB
LLVM
; RUN: opt %loadNPMPolly -polly-invariant-load-hoisting=true '-passes=polly-custom<scops>' -polly-print-scops -disable-output < %s 2>&1 | FileCheck %s --check-prefix=SCOP
|
|
; RUN: opt %loadNPMPolly -S '-passes=polly<no-default-opts>' -polly-invariant-load-hoisting=true %s | FileCheck %s
|
|
;
|
|
; The offset of the %tmp1 load wrt. to %buff (62 bytes) is not divisible
|
|
; by the type size (i32 = 4 bytes), thus we will have to represent %buff
|
|
; with a smaller type. In this case i16 is sufficient to represent the
|
|
; 62 byte offset accurately.
|
|
;
|
|
; SCOP: Invariant Accesses: {
|
|
; SCOP: ReadAccess := [Reduction Type: NONE] [Scalar: 0]
|
|
; SCOP: { Stmt_if_end_6[] -> MemRef_buff[o0] : 31 <= o0 <= 32 };
|
|
; SCOP: Execution Context: { : }
|
|
; SCOP: }
|
|
; SCOP: Arrays {
|
|
; SCOP: i16 MemRef_buff[*]; // Element size 2
|
|
; SCOP: i32 MemRef_key_0; // Element size 4
|
|
; SCOP: }
|
|
;
|
|
; CHECK-LABEL: polly.preload.begin:
|
|
; CHECK-NEXT: %polly.access.buff = getelementptr i16, ptr %buff, i64 31
|
|
; CHECK-NEXT: %polly.access.buff.load = load i32, ptr %polly.access.buff, align 4
|
|
; CHECK-NEXT: store i32 %polly.access.buff.load, ptr %tmp1.preload.s2a
|
|
;
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
|
|
; Function Attrs: nounwind uwtable
|
|
define void @sudecrypt(ptr %buff) {
|
|
entry:
|
|
br i1 undef, label %cleanup, label %if.end
|
|
|
|
if.end: ; preds = %entry
|
|
br i1 undef, label %if.end.6, label %if.then.5
|
|
|
|
if.then.5: ; preds = %if.end
|
|
unreachable
|
|
|
|
if.end.6: ; preds = %if.end
|
|
%add.ptr = getelementptr inbounds i8, ptr %buff, i64 62
|
|
%tmp1 = load i32, ptr %add.ptr, align 4, !tbaa !1
|
|
br i1 false, label %if.then.13, label %switch.early.test
|
|
|
|
switch.early.test: ; preds = %if.end.6
|
|
switch i32 0, label %if.end.16 [
|
|
i32 956, label %if.then.13
|
|
i32 520, label %if.then.13
|
|
]
|
|
|
|
if.then.13: ; preds = %switch.early.test, %switch.early.test, %if.end.6
|
|
br label %if.end.16
|
|
|
|
if.end.16: ; preds = %if.then.13, %switch.early.test
|
|
%key.0 = phi i32 [ undef, %if.then.13 ], [ 0, %switch.early.test ]
|
|
br i1 undef, label %if.end.34, label %if.then.19
|
|
|
|
if.then.19: ; preds = %if.end.16
|
|
unreachable
|
|
|
|
if.end.34: ; preds = %if.end.16
|
|
unreachable
|
|
|
|
cleanup: ; preds = %entry
|
|
ret void
|
|
}
|
|
|
|
!llvm.ident = !{!0}
|
|
|
|
!0 = !{!"clang version 3.8.0 (trunk 250010) (llvm/trunk 250018)"}
|
|
!1 = !{!2, !2, i64 0}
|
|
!2 = !{!"int", !3, i64 0}
|
|
!3 = !{!"omnipotent char", !4, i64 0}
|
|
!4 = !{!"Simple C/C++ TBAA"}
|