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
54 lines
2.1 KiB
LLVM
54 lines
2.1 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
|
|
; RUN: opt -passes=newgvn -S < %s | FileCheck %s
|
|
;; Ensure we don't crash when simplifying aggregate value expressions
|
|
source_filename = "bugpoint-output-09f7a24.bc"
|
|
|
|
@WHOLELINE = external local_unnamed_addr global i32, align 4
|
|
|
|
; Function Attrs: nounwind uwtable
|
|
define void @sgrep() local_unnamed_addr {
|
|
; CHECK-LABEL: define void @sgrep(
|
|
; CHECK-SAME: ) local_unnamed_addr {
|
|
; CHECK-NEXT: [[ENTRY:.*]]:
|
|
; CHECK-NEXT: [[TMP0:%.*]] = load i32, ptr @WHOLELINE, align 4, !tbaa [[INT_TBAA1:![0-9]+]]
|
|
; CHECK-NEXT: [[TOBOOL:%.*]] = icmp eq i32 [[TMP0]], 0
|
|
; CHECK-NEXT: [[DOT:%.*]] = select i1 [[TOBOOL]], i32 2048, i32 2047
|
|
; CHECK-NEXT: br label %[[WHILE_BODY_US:.*]]
|
|
; CHECK: [[WHILE_BODY_US]]:
|
|
; CHECK-NEXT: [[START_1230_US:%.*]] = phi i32 [ [[DOT]], %[[ENTRY]] ], [ 0, %[[WHILE_BODY_US]] ]
|
|
; CHECK-NEXT: [[TMP1:%.*]] = sext i32 [[START_1230_US]] to i64
|
|
; CHECK-NEXT: [[TMP2:%.*]] = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 0, i64 [[TMP1]])
|
|
; CHECK-NEXT: br label %[[WHILE_BODY_US]]
|
|
;
|
|
entry:
|
|
%0 = load i32, ptr @WHOLELINE, align 4, !tbaa !1
|
|
%tobool = icmp eq i32 %0, 0
|
|
%. = select i1 %tobool, i32 2048, i32 2047
|
|
br label %while.body.us
|
|
|
|
while.body.us: ; preds = %while.body.us, %entry
|
|
%start.1230.us = phi i32 [ %., %entry ], [ 0, %while.body.us ]
|
|
%1 = sext i32 %start.1230.us to i64
|
|
%2 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 0, i64 %1)
|
|
%.res302 = extractvalue { i64, i1 } %2, 0
|
|
%3 = icmp sge i64 undef, %.res302
|
|
br label %while.body.us
|
|
}
|
|
|
|
; Function Attrs: nounwind readnone speculatable
|
|
declare { i64, i1 } @llvm.sadd.with.overflow.i64(i64, i64)
|
|
|
|
!llvm.ident = !{!0}
|
|
|
|
!0 = !{!"clang version 6.0.0 (trunk 311664) (llvm/trunk 311666)"}
|
|
!1 = !{!2, !2, i64 0}
|
|
!2 = !{!"int", !3, i64 0}
|
|
!3 = !{!"omnipotent char", !4, i64 0}
|
|
!4 = !{!"Simple C/C++ TBAA"}
|
|
;.
|
|
; CHECK: [[INT_TBAA1]] = !{[[META2:![0-9]+]], [[META2]], i64 0}
|
|
; CHECK: [[META2]] = !{!"int", [[META3:![0-9]+]], i64 0}
|
|
; CHECK: [[META3]] = !{!"omnipotent char", [[META4:![0-9]+]], i64 0}
|
|
; CHECK: [[META4]] = !{!"Simple C/C++ TBAA"}
|
|
;.
|