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
66 lines
1.8 KiB
LLVM
66 lines
1.8 KiB
LLVM
; RUN: opt < %s -passes='require<loops>,gvn' -S | FileCheck %s
|
|
; This test is checking that (a) this doesn't crash, and (b) we don't
|
|
; conclude the value of %tmp17 is available in bb1.bb15_crit_edge.
|
|
; rdar://9429882
|
|
|
|
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
|
|
define i1 @rb_intern(ptr %foo) nounwind ssp {
|
|
; CHECK-LABEL: @rb_intern(
|
|
|
|
bb:
|
|
%tmp = alloca ptr, align 8
|
|
store ptr null, ptr %tmp, align 8
|
|
store i8 undef, ptr null, align 536870912
|
|
br label %bb1
|
|
|
|
bb1:
|
|
br i1 undef, label %bb3, label %bb15
|
|
|
|
; CHECK: bb1:
|
|
; CHECK: [[TMP:%.*]] = phi ptr [ %tmp14, %bb10 ], [ null, %bb ]
|
|
|
|
; CHECK: bb1.bb15_crit_edge:
|
|
; CHECK: %tmp17.pre = load i8, ptr [[TMP]], align 1
|
|
|
|
bb3:
|
|
call void @isalnum()
|
|
br i1 undef, label %bb10, label %bb5
|
|
|
|
bb5:
|
|
br i1 undef, label %bb10, label %bb6
|
|
|
|
bb6:
|
|
%tmp7 = load ptr, ptr %tmp, align 8
|
|
%tmp8 = load i8, ptr %tmp7, align 1
|
|
%tmp9 = zext i8 %tmp8 to i64
|
|
br i1 undef, label %bb15, label %bb10
|
|
|
|
bb10:
|
|
%tmp11 = load ptr, ptr %tmp, align 8
|
|
%tmp12 = load i8, ptr %tmp11, align 1
|
|
%tmp13 = zext i8 %tmp12 to i64
|
|
%tmp14 = getelementptr inbounds i8, ptr %foo, i64 undef
|
|
store ptr %tmp14, ptr %tmp, align 8
|
|
br label %bb1
|
|
|
|
bb15:
|
|
%tmp16 = load ptr, ptr %tmp, align 8
|
|
%tmp17 = load i8, ptr %tmp16, align 1
|
|
%tmp18 = icmp eq i8 %tmp17, 0
|
|
br label %bb19
|
|
|
|
; CHECK-LABEL: bb6:
|
|
; CHECK: br i1 undef, label %bb15split, label %bb10
|
|
|
|
; CHECK-LABEL: bb15split: ; preds = %bb6
|
|
; CHECK-NEXT: br label %bb15
|
|
|
|
; CHECK-LABEL: bb15:
|
|
; CHECK: %tmp17 = phi i8 [ %tmp12.pre3, %bb15split ], [ %tmp17.pre, %bb1.bb15_crit_edge ]
|
|
|
|
bb19: ; preds = %bb15
|
|
ret i1 %tmp18
|
|
}
|
|
|
|
declare void @isalnum() nounwind inlinehint ssp
|