Files
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

50 lines
1.5 KiB
LLVM

; REQUIRES: asserts
; RUN: llc < %s -O0 -frame-pointer=all -relocation-model=pic -stats 2>&1 | FileCheck %s
;
; This test should not cause any spilling with RAFast.
;
; CHECK: Number of copies coalesced
; CHECK-NOT: Number of stores added
;
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"
target triple = "x86_64-apple-darwin10.0.0"
%0 = type { i64, i64, ptr, ptr }
%1 = type opaque
%2 = type opaque
%3 = type <{ ptr, i32, i32, ptr, ptr, i64 }>
%4 = type { ptr, i32, i32, ptr, ptr, i64 }
%5 = type { i64, i64 }
%6 = type { ptr, i32, i32, ptr, ptr }
@0 = external hidden constant %0
define hidden void @f() ssp {
bb:
%tmp5 = alloca i64, align 8
%tmp6 = alloca ptr, align 8
%tmp7 = alloca %3, align 8
store i64 0, ptr %tmp5, align 8
br label %bb8
bb8: ; preds = %bb23, %bb
%tmp15 = getelementptr inbounds %3, ptr %tmp7, i32 0, i32 4
store ptr @0, ptr %tmp15
store ptr %tmp7, ptr %tmp6, align 8
%tmp17 = load ptr, ptr %tmp6, align 8
%tmp19 = getelementptr inbounds %6, ptr %tmp17, i32 0, i32 3
%tmp21 = load ptr, ptr %tmp19
call void %tmp21(ptr %tmp17)
br label %bb23
bb23: ; preds = %bb8
%tmp24 = load i64, ptr %tmp5, align 8
%tmp25 = add i64 %tmp24, 1
store i64 %tmp25, ptr %tmp5, align 8
%tmp26 = icmp ult i64 %tmp25, 10
br i1 %tmp26, label %bb8, label %bb27
bb27: ; preds = %bb23
ret void
}