Files
TheRock/compiler/amd-llvm/polly/test/CodeGen/large-numbers-in-boundary-context.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

57 lines
1.8 KiB
LLVM

; RUN: opt %loadNPMPolly -S '-passes=polly<no-default-opts>' < %s | FileCheck %s
; XFAIL: *
;
; The boundary context contains a constant that does not fit in 64 bits. Hence,
; make sure we bail out. On certain systems, e.g. AOSP, no runtime support for
; 128bit operations is available and consequently the code generation of large
; values might cause linker errors.
;
; CHECK: br i1 false, label %polly.start, label %bb11.pre_entry_bb
target triple = "x86_64-unknown-linux-gnu"
@global = external global i32, align 4
@global1 = external global i32, align 4
; Function Attrs: nounwind uwtable
define void @hoge(ptr %arg) #0 {
bb:
br label %bb5
bb5: ; preds = %bb
%tmp = load i32, ptr @global, align 4
%tmp6 = sext i32 %tmp to i64
br label %bb11
bb7: ; preds = %bb19
%tmp8 = load i32, ptr @global1, align 4
%tmp9 = sext i32 %tmp8 to i64
%tmp10 = icmp slt i64 %tmp13, %tmp9
br i1 %tmp10, label %bb11, label %bb20
bb11: ; preds = %bb7, %bb5
%tmp12 = phi i64 [ %tmp6, %bb5 ], [ %tmp13, %bb7 ]
%tmp13 = add i64 %tmp12, 1
%tmp14 = getelementptr inbounds i8, ptr %arg, i64 %tmp13
%tmp15 = load i8, ptr %tmp14, align 1
br i1 false, label %bb16, label %bb17
bb16: ; preds = %bb11
br label %bb18
bb17: ; preds = %bb11
br label %bb18
bb18: ; preds = %bb17, %bb16
br label %bb19
bb19: ; preds = %bb19, %bb18
br i1 undef, label %bb19, label %bb7
bb20: ; preds = %bb7
br label %bb21
bb21: ; preds = %bb20
ret void
}