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
42 lines
1.4 KiB
LLVM
42 lines
1.4 KiB
LLVM
; RUN: llc -mtriple=hexagon -O2 < %s | FileCheck %s
|
|
|
|
; Verify that processAddUses correctly folds an A2_addi into multiple
|
|
; store offsets. With many uses, isSafeToExtLR must be called once
|
|
; (not once per use) to avoid O(N^2) compile time.
|
|
|
|
; The A2_addi computing the base address should be eliminated; all
|
|
; stores should use the original base register with the combined offset.
|
|
|
|
; CHECK-LABEL: f0:
|
|
; CHECK-NOT: = add(r
|
|
; CHECK-DAG: memb(r0+#13)
|
|
; CHECK-DAG: memb(r0+#14)
|
|
; CHECK-DAG: memb(r0+#15)
|
|
; CHECK-DAG: memb(r0+#16)
|
|
; CHECK-DAG: memb(r0+#17)
|
|
; CHECK-DAG: memb(r0+#18)
|
|
; CHECK-DAG: memb(r0+#19)
|
|
; CHECK-DAG: memb(r0+#20)
|
|
|
|
define void @f0(ptr %base, i8 %a, i8 %b, i8 %c, i8 %d,
|
|
i8 %e, i8 %f, i8 %g, i8 %h) nounwind {
|
|
entry:
|
|
%p0 = getelementptr inbounds i8, ptr %base, i32 13
|
|
store i8 %a, ptr %p0, align 1
|
|
%p1 = getelementptr inbounds i8, ptr %p0, i32 1
|
|
store i8 %b, ptr %p1, align 1
|
|
%p2 = getelementptr inbounds i8, ptr %p0, i32 2
|
|
store i8 %c, ptr %p2, align 1
|
|
%p3 = getelementptr inbounds i8, ptr %p0, i32 3
|
|
store i8 %d, ptr %p3, align 1
|
|
%p4 = getelementptr inbounds i8, ptr %p0, i32 4
|
|
store i8 %e, ptr %p4, align 1
|
|
%p5 = getelementptr inbounds i8, ptr %p0, i32 5
|
|
store i8 %f, ptr %p5, align 1
|
|
%p6 = getelementptr inbounds i8, ptr %p0, i32 6
|
|
store i8 %g, ptr %p6, align 1
|
|
%p7 = getelementptr inbounds i8, ptr %p0, i32 7
|
|
store i8 %h, ptr %p7, align 1
|
|
ret void
|
|
}
|