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
50 lines
1.3 KiB
LLVM
50 lines
1.3 KiB
LLVM
; RUN: llc < %s -mcpu=cortex-a8 | FileCheck %s
|
|
target triple = "thumbv7-apple-ios"
|
|
|
|
; CHECK: local_split
|
|
;
|
|
; The load must go into d0-15 which are all clobbered by the asm.
|
|
; RAGreedy should split the range and use d16-d31 to avoid a spill.
|
|
;
|
|
; CHECK: vldr s
|
|
; CHECK-NOT: vstr
|
|
; CHECK: vadd.f32
|
|
; CHECK-NOT: vstr
|
|
; CHECK: vorr
|
|
; CHECK: vstr s
|
|
define void @local_split(ptr nocapture %p) nounwind ssp {
|
|
entry:
|
|
%x = load float, ptr %p, align 4
|
|
%a = fadd float %x, 1.0
|
|
tail call void asm sideeffect "", "~{d0},~{d1},~{d2},~{d3},~{d4},~{d5},~{d6},~{d7},~{d8},~{d9},~{d10},~{d11},~{d12},~{d13},~{d14},~{d15}"() nounwind
|
|
store float %a, ptr %p, align 4
|
|
ret void
|
|
}
|
|
|
|
; CHECK: global_split
|
|
;
|
|
; Same thing, but across basic blocks.
|
|
;
|
|
; CHECK: vldr s
|
|
; CHECK-NOT: vstr
|
|
; CHECK: vadd.f32
|
|
; CHECK-NOT: vstr
|
|
; CHECK: vorr
|
|
; CHECK: vstr s
|
|
define void @global_split(ptr nocapture %p1, ptr nocapture %p2) nounwind ssp {
|
|
entry:
|
|
%0 = load float, ptr %p1, align 4
|
|
%add = fadd float %0, 1.000000e+00
|
|
tail call void asm sideeffect "", "~{d0},~{d1},~{d2},~{d3},~{d4},~{d5},~{d6},~{d7},~{d8},~{d9},~{d10},~{d11},~{d12},~{d13},~{d14},~{d15}"() nounwind
|
|
%cmp = fcmp ogt float %add, 0.000000e+00
|
|
br i1 %cmp, label %if.then, label %if.end
|
|
|
|
if.then:
|
|
store float %add, ptr %p2, align 4
|
|
br label %if.end
|
|
|
|
if.end:
|
|
store float %add, ptr %p1, align 4
|
|
ret void
|
|
}
|