Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/AArch64/machine-outliner-throw2.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

102 lines
3.6 KiB
LLVM

; RUN: llc -verify-machineinstrs -enable-machine-outliner -outliner-leaf-descendants=false -mtriple=aarch64 -frame-pointer=non-leaf < %s | FileCheck %s --check-prefix=NOOMIT
; RUN: llc -verify-machineinstrs -enable-machine-outliner -outliner-leaf-descendants=false -mtriple=aarch64 -frame-pointer=none < %s | FileCheck %s --check-prefix=OMITFP
define void @_Z1giii(i32 %x, i32 %y, i32 %z) minsize {
; NOOMIT-LABEL: _Z1giii:
; NOOMIT: // %bb.0: // %entry
; NOOMIT-NEXT: b _Z1hiii
;
; OMITFP-LABEL: _Z1giii:
; OMITFP: // %bb.0: // %entry
; OMITFP-NEXT: b _Z1hiii
entry:
tail call void @_Z1hiii(i32 %x, i32 %y, i32 %z)
ret void
}
declare void @_Z1hiii(i32, i32, i32) minsize
define void @_Z2f1v() minsize {
; NOOMIT-LABEL: _Z2f1v:
; NOOMIT: // %bb.0: // %entry
; NOOMIT-NEXT: stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
; NOOMIT-NEXT: mov x29, sp
; NOOMIT-NEXT: .cfi_def_cfa w29, 16
; NOOMIT-NEXT: .cfi_offset w30, -8
; NOOMIT-NEXT: .cfi_offset w29, -16
; NOOMIT-NEXT: bl OUTLINED_FUNCTION_0
; NOOMIT-NEXT: ldp x29, x30, [sp], #16 // 16-byte Folded Reload
; NOOMIT-NEXT: b _Z1giii
;
; OMITFP-LABEL: _Z2f1v:
; OMITFP: // %bb.0: // %entry
; OMITFP-NEXT: str x30, [sp, #-16]! // 8-byte Folded Spill
; OMITFP-NEXT: .cfi_def_cfa_offset 16
; OMITFP-NEXT: .cfi_offset w30, -16
; OMITFP-NEXT: bl OUTLINED_FUNCTION_0
; OMITFP-NEXT: ldr x30, [sp], #16 // 8-byte Folded Reload
; OMITFP-NEXT: b _Z1giii
entry:
tail call void @_Z1giii(i32 1, i32 2, i32 3)
tail call void @_Z1giii(i32 1, i32 2, i32 3)
ret void
}
define void @_Z2f2v() minsize {
; NOOMIT-LABEL: _Z2f2v:
; NOOMIT: // %bb.0: // %entry
; NOOMIT-NEXT: stp x29, x30, [sp, #-16]! // 16-byte Folded Spill
; NOOMIT-NEXT: mov x29, sp
; NOOMIT-NEXT: .cfi_def_cfa w29, 16
; NOOMIT-NEXT: .cfi_offset w30, -8
; NOOMIT-NEXT: .cfi_offset w29, -16
; NOOMIT-NEXT: bl OUTLINED_FUNCTION_0
; NOOMIT-NEXT: ldp x29, x30, [sp], #16 // 16-byte Folded Reload
; NOOMIT-NEXT: b _Z1giii
;
; OMITFP-LABEL: _Z2f2v:
; OMITFP: // %bb.0: // %entry
; OMITFP-NEXT: str x30, [sp, #-16]! // 8-byte Folded Spill
; OMITFP-NEXT: .cfi_def_cfa_offset 16
; OMITFP-NEXT: .cfi_offset w30, -16
; OMITFP-NEXT: bl OUTLINED_FUNCTION_0
; OMITFP-NEXT: ldr x30, [sp], #16 // 8-byte Folded Reload
; OMITFP-NEXT: b _Z1giii
entry:
tail call void @_Z1giii(i32 1, i32 2, i32 3)
tail call void @_Z1giii(i32 1, i32 2, i32 3)
ret void
}
; OMITFP-LABEL: OUTLINED_FUNCTION_0:
; OMITFP: .cfi_startproc
; OMITFP-NEXT: // %bb.0:
; OMITFP-NEXT: .cfi_def_cfa_offset 16
; OMITFP-NEXT: .cfi_offset w30, -16
; OMITFP-NEXT: str x30, [sp, #-16]!
; OMITFP-NEXT: mov w0, #1
; OMITFP-NEXT: mov w1, #2
; OMITFP-NEXT: mov w2, #3
; OMITFP-NEXT: bl _Z1giii
; OMITFP-NEXT: mov w0, #1
; OMITFP-NEXT: mov w1, #2
; OMITFP-NEXT: mov w2, #3
; OMITFP-NEXT: ldr x30, [sp], #16
; OMITFP-NEXT: ret
; NOOMIT-LABEL: OUTLINED_FUNCTION_0:
; NOOMIT: .cfi_startproc
; NOOMIT-NEXT: // %bb.0:
; NOOMIT-NEXT: .cfi_def_cfa_offset 16
; NOOMIT-NEXT: .cfi_offset w30, -16
; NOOMIT-NEXT: str x30, [sp, #-16]!
; NOOMIT-NEXT: mov w0, #1
; NOOMIT-NEXT: mov w1, #2
; NOOMIT-NEXT: mov w2, #3
; NOOMIT-NEXT: bl _Z1giii
; NOOMIT-NEXT: mov w0, #1
; NOOMIT-NEXT: mov w1, #2
; NOOMIT-NEXT: mov w2, #3
; NOOMIT-NEXT: ldr x30, [sp], #16
; NOOMIT-NEXT: ret