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
49 lines
1.9 KiB
LLVM
49 lines
1.9 KiB
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
|
;
|
|
; PR18396: Assertion: MO->isDead "Cannot fold physreg def".
|
|
; InlineSpiller::foldMemoryOperand needs to handle undef call operands.
|
|
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
|
|
@a = external global ptr, align 8
|
|
@b = external global i32, align 4
|
|
|
|
; Check that the call targets are folded, and we don't crash!
|
|
; CHECK-LABEL: foldCallOper:
|
|
; CHECK: callq *{{.*}}(%rbp)
|
|
; CHECK: callq *{{.*}}(%rbp)
|
|
define void @foldCallOper(ptr nocapture %p1) #0 {
|
|
entry:
|
|
%0 = load ptr, ptr @a, align 8
|
|
br label %for.body.i
|
|
|
|
for.body.i: ; preds = %for.body.i, %entry
|
|
%exitcond5.i = icmp eq i32 undef, undef
|
|
br i1 %exitcond5.i, label %for.body3.lr.ph.i, label %for.body.i
|
|
|
|
for.body3.lr.ph.i: ; preds = %for.body.i
|
|
%call.i = tail call i32 %p1(ptr undef, i32 0, ptr null)
|
|
%tobool.i = icmp eq i32 %call.i, 0
|
|
br label %for.body3.i
|
|
|
|
for.body3.i: ; preds = %for.inc8.i, %for.body3.lr.ph.i
|
|
%1 = phi ptr [ undef, %for.body3.lr.ph.i ], [ %.pre.i, %for.inc8.i ]
|
|
%indvars.iv.i = phi i64 [ 1, %for.body3.lr.ph.i ], [ %phitmp.i, %for.inc8.i ]
|
|
%call5.i = tail call i32 %p1(ptr %1, i32 0, ptr %0)
|
|
br i1 %tobool.i, label %for.inc8.i, label %if.then.i
|
|
|
|
if.then.i: ; preds = %for.body3.i
|
|
%2 = load i32, ptr %1, align 4
|
|
store i32 %2, ptr @b, align 4
|
|
br label %for.inc8.i
|
|
|
|
for.inc8.i: ; preds = %if.then.i, %for.body3.i
|
|
%lftr.wideiv.i = trunc i64 %indvars.iv.i to i32
|
|
%arrayidx4.phi.trans.insert.i = getelementptr inbounds [0 x ptr], ptr undef, i64 0, i64 %indvars.iv.i
|
|
%.pre.i = load ptr, ptr %arrayidx4.phi.trans.insert.i, align 8
|
|
%phitmp.i = add i64 %indvars.iv.i, 1
|
|
br label %for.body3.i
|
|
}
|
|
|
|
attributes #0 = { noreturn uwtable "frame-pointer"="all" }
|