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
169 lines
5.1 KiB
LLVM
169 lines
5.1 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
|
|
; RUN: llc -verify-machineinstrs -enable-machine-outliner -mtriple aarch64 %s -o - | \
|
|
; RUN: FileCheck %s --check-prefixes CHECK,V8A
|
|
; RUN: llc -verify-machineinstrs -enable-machine-outliner -mtriple aarch64 -mattr=+v8.3a %s -o - | \
|
|
; RUN: FileCheck %s --check-prefixes CHECK,V83A
|
|
|
|
define void @a() "sign-return-address"="all" {
|
|
; V8A-LABEL: a:
|
|
; V8A: // %bb.0:
|
|
; V8A-NEXT: hint #25
|
|
; V8A-NEXT: .cfi_negate_ra_state
|
|
; V8A-NEXT: sub sp, sp, #32
|
|
; V8A-NEXT: .cfi_def_cfa_offset 32
|
|
; V8A-NEXT: mov w8, #1 // =0x1
|
|
; V8A-NEXT: mov w9, #2 // =0x2
|
|
; V8A-NEXT: stp w9, w8, [sp, #24]
|
|
; V8A-NEXT: mov w9, #3 // =0x3
|
|
; V8A-NEXT: mov w8, #4 // =0x4
|
|
; V8A-NEXT: stp w8, w9, [sp, #16]
|
|
; V8A-NEXT: mov w9, #5 // =0x5
|
|
; V8A-NEXT: mov w8, #6 // =0x6
|
|
; V8A-NEXT: stp w8, w9, [sp, #8]
|
|
; V8A-NEXT: add sp, sp, #32
|
|
; V8A-NEXT: hint #29
|
|
; V8A-NEXT: ret
|
|
;
|
|
; V83A-LABEL: a:
|
|
; V83A: // %bb.0:
|
|
; V83A-NEXT: paciasp
|
|
; V83A-NEXT: .cfi_negate_ra_state
|
|
; V83A-NEXT: sub sp, sp, #32
|
|
; V83A-NEXT: .cfi_def_cfa_offset 32
|
|
; V83A-NEXT: mov w8, #1 // =0x1
|
|
; V83A-NEXT: mov w9, #2 // =0x2
|
|
; V83A-NEXT: stp w9, w8, [sp, #24]
|
|
; V83A-NEXT: mov w9, #3 // =0x3
|
|
; V83A-NEXT: mov w8, #4 // =0x4
|
|
; V83A-NEXT: stp w8, w9, [sp, #16]
|
|
; V83A-NEXT: mov w9, #5 // =0x5
|
|
; V83A-NEXT: mov w8, #6 // =0x6
|
|
; V83A-NEXT: stp w8, w9, [sp, #8]
|
|
; V83A-NEXT: add sp, sp, #32
|
|
; V83A-NEXT: retaa
|
|
%1 = alloca i32, align 4
|
|
%2 = alloca i32, align 4
|
|
%3 = alloca i32, align 4
|
|
%4 = alloca i32, align 4
|
|
%5 = alloca i32, align 4
|
|
%6 = alloca i32, align 4
|
|
store i32 1, ptr %1, align 4
|
|
store i32 2, ptr %2, align 4
|
|
store i32 3, ptr %3, align 4
|
|
store i32 4, ptr %4, align 4
|
|
store i32 5, ptr %5, align 4
|
|
store i32 6, ptr %6, align 4
|
|
ret void
|
|
}
|
|
|
|
define void @b() "sign-return-address"="all" "sign-return-address-key"="b_key" {
|
|
; V8A-LABEL: b:
|
|
; V8A: // %bb.0:
|
|
; V8A-NEXT: .cfi_b_key_frame
|
|
; V8A-NEXT: hint #27
|
|
; V8A-NEXT: .cfi_negate_ra_state
|
|
; V8A-NEXT: sub sp, sp, #32
|
|
; V8A-NEXT: .cfi_def_cfa_offset 32
|
|
; V8A-NEXT: mov w8, #1 // =0x1
|
|
; V8A-NEXT: mov w9, #2 // =0x2
|
|
; V8A-NEXT: stp w9, w8, [sp, #24]
|
|
; V8A-NEXT: mov w9, #3 // =0x3
|
|
; V8A-NEXT: mov w8, #4 // =0x4
|
|
; V8A-NEXT: stp w8, w9, [sp, #16]
|
|
; V8A-NEXT: mov w9, #5 // =0x5
|
|
; V8A-NEXT: mov w8, #6 // =0x6
|
|
; V8A-NEXT: stp w8, w9, [sp, #8]
|
|
; V8A-NEXT: add sp, sp, #32
|
|
; V8A-NEXT: hint #31
|
|
; V8A-NEXT: ret
|
|
;
|
|
; V83A-LABEL: b:
|
|
; V83A: // %bb.0:
|
|
; V83A-NEXT: .cfi_b_key_frame
|
|
; V83A-NEXT: pacibsp
|
|
; V83A-NEXT: .cfi_negate_ra_state
|
|
; V83A-NEXT: sub sp, sp, #32
|
|
; V83A-NEXT: .cfi_def_cfa_offset 32
|
|
; V83A-NEXT: mov w8, #1 // =0x1
|
|
; V83A-NEXT: mov w9, #2 // =0x2
|
|
; V83A-NEXT: stp w9, w8, [sp, #24]
|
|
; V83A-NEXT: mov w9, #3 // =0x3
|
|
; V83A-NEXT: mov w8, #4 // =0x4
|
|
; V83A-NEXT: stp w8, w9, [sp, #16]
|
|
; V83A-NEXT: mov w9, #5 // =0x5
|
|
; V83A-NEXT: mov w8, #6 // =0x6
|
|
; V83A-NEXT: stp w8, w9, [sp, #8]
|
|
; V83A-NEXT: add sp, sp, #32
|
|
; V83A-NEXT: retab
|
|
%1 = alloca i32, align 4
|
|
%2 = alloca i32, align 4
|
|
%3 = alloca i32, align 4
|
|
%4 = alloca i32, align 4
|
|
%5 = alloca i32, align 4
|
|
%6 = alloca i32, align 4
|
|
store i32 1, ptr %1, align 4
|
|
store i32 2, ptr %2, align 4
|
|
store i32 3, ptr %3, align 4
|
|
store i32 4, ptr %4, align 4
|
|
store i32 5, ptr %5, align 4
|
|
store i32 6, ptr %6, align 4
|
|
ret void
|
|
}
|
|
|
|
define void @c() "sign-return-address"="all" {
|
|
; V8A-LABEL: c:
|
|
; V8A: // %bb.0:
|
|
; V8A-NEXT: hint #25
|
|
; V8A-NEXT: .cfi_negate_ra_state
|
|
; V8A-NEXT: sub sp, sp, #32
|
|
; V8A-NEXT: .cfi_def_cfa_offset 32
|
|
; V8A-NEXT: mov w8, #1 // =0x1
|
|
; V8A-NEXT: mov w9, #2 // =0x2
|
|
; V8A-NEXT: stp w9, w8, [sp, #24]
|
|
; V8A-NEXT: mov w9, #3 // =0x3
|
|
; V8A-NEXT: mov w8, #4 // =0x4
|
|
; V8A-NEXT: stp w8, w9, [sp, #16]
|
|
; V8A-NEXT: mov w9, #5 // =0x5
|
|
; V8A-NEXT: mov w8, #6 // =0x6
|
|
; V8A-NEXT: stp w8, w9, [sp, #8]
|
|
; V8A-NEXT: add sp, sp, #32
|
|
; V8A-NEXT: hint #29
|
|
; V8A-NEXT: ret
|
|
;
|
|
; V83A-LABEL: c:
|
|
; V83A: // %bb.0:
|
|
; V83A-NEXT: paciasp
|
|
; V83A-NEXT: .cfi_negate_ra_state
|
|
; V83A-NEXT: sub sp, sp, #32
|
|
; V83A-NEXT: .cfi_def_cfa_offset 32
|
|
; V83A-NEXT: mov w8, #1 // =0x1
|
|
; V83A-NEXT: mov w9, #2 // =0x2
|
|
; V83A-NEXT: stp w9, w8, [sp, #24]
|
|
; V83A-NEXT: mov w9, #3 // =0x3
|
|
; V83A-NEXT: mov w8, #4 // =0x4
|
|
; V83A-NEXT: stp w8, w9, [sp, #16]
|
|
; V83A-NEXT: mov w9, #5 // =0x5
|
|
; V83A-NEXT: mov w8, #6 // =0x6
|
|
; V83A-NEXT: stp w8, w9, [sp, #8]
|
|
; V83A-NEXT: add sp, sp, #32
|
|
; V83A-NEXT: retaa
|
|
%1 = alloca i32, align 4
|
|
%2 = alloca i32, align 4
|
|
%3 = alloca i32, align 4
|
|
%4 = alloca i32, align 4
|
|
%5 = alloca i32, align 4
|
|
%6 = alloca i32, align 4
|
|
store i32 1, ptr %1, align 4
|
|
store i32 2, ptr %2, align 4
|
|
store i32 3, ptr %3, align 4
|
|
store i32 4, ptr %4, align 4
|
|
store i32 5, ptr %5, align 4
|
|
store i32 6, ptr %6, align 4
|
|
ret void
|
|
}
|
|
|
|
; CHECK-NOT: OUTLINED_FUNCTION_0:
|
|
; CHECK-NOT: // -- Begin function
|
|
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
|
|
; CHECK: {{.*}}
|