Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/ARM/save-fp-with-non-leaf.ll
T
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

38 lines
1.5 KiB
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
; RUN: llc %s -o - | FileCheck %s --check-prefix=CHECK
target datalayout = "e-m:o-p:32:32-Fi8-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32"
target triple = "thumbv7-apple-darwin"
; This test checks that even with NEON register induced stack re-alignment, and
; with the frame-pointer=non-leaf option, that we still save fp aka r7 in the
; prolog as required.
define fastcc i32 @test_save_fp() #0 {
; CHECK-LABEL: test_save_fp:
; CHECK: @ %bb.0:
; CHECK-NEXT: push {r4, r7, lr}
; CHECK-NEXT: add r7, sp, #4
; CHECK-NEXT: sub.w r4, sp, #64
; CHECK-NEXT: bfc r4, #0, #4
; CHECK-NEXT: mov sp, r4
; CHECK-NEXT: vst1.64 {d8, d9, d10, d11}, [r4:128]!
; CHECK-NEXT: movs r0, #0
; CHECK-NEXT: vst1.64 {d12, d13, d14, d15}, [r4:128]
; CHECK-NEXT: mov r4, sp
; CHECK-NEXT: @ InlineAsm Start
; CHECK-NEXT: vld1.16 {d0, d1, d2, d3}, [r0]
; CHECK-NEXT: vld1.16 {d4, d5, d6, d7}, [r0]
; CHECK-NEXT: vabdl.s16 q4, d0, d4
; CHECK-EMPTY:
; CHECK-NEXT: @ InlineAsm End
; CHECK-NEXT: vld1.64 {d8, d9, d10, d11}, [r4:128]!
; CHECK-NEXT: vld1.64 {d12, d13, d14, d15}, [r4:128]
; CHECK-NEXT: subs r4, r7, #4
; CHECK-NEXT: mov sp, r4
; CHECK-NEXT: pop {r4, r7, pc}
tail call void asm sideeffect "vld1.i16 {q0,q1}, [$0]\0Avld1.i16 {q2,q3}, [$1]\0Avabdl.s16 q4, d0, d4\0A", "r,r,r,~{q0},~{q1},~{q2},~{q3},~{q4},~{q5},~{q6},~{q7},~{memory}"(ptr null, ptr null, ptr null)
ret i32 0
}
attributes #0 = { "frame-pointer"="non-leaf" }