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
71 lines
2.1 KiB
LLVM
71 lines
2.1 KiB
LLVM
; RUN: llc -verify-machineinstrs -mtriple=arm64-none-linux-gnu -frame-pointer=non-leaf -disable-post-ra < %s | FileCheck %s
|
|
declare void @use_addr(ptr)
|
|
|
|
@addr = global ptr null
|
|
|
|
define void @test_bigframe() {
|
|
; CHECK-LABEL: test_bigframe:
|
|
; CHECK: .cfi_startproc
|
|
|
|
%var1 = alloca i8, i32 20000000
|
|
%var2 = alloca i8, i32 16
|
|
%var3 = alloca i8, i32 20000000
|
|
|
|
; CHECK: sub sp, sp, #4095, lsl #12 // =16773120
|
|
; CHECK-NEXT: sub sp, sp, #4095, lsl #12 // =16773120
|
|
; CHECK-NEXT: sub sp, sp, #1575, lsl #12 // =6451200
|
|
; CHECK-NEXT: sub sp, sp, #2576
|
|
; CHECK-NEXT: .cfi_def_cfa_offset 40000032
|
|
|
|
; CHECK: add [[TMP:x[0-9]+]], sp, #4095, lsl #12
|
|
; CHECK: add [[TMP1:x[0-9]+]], [[TMP]], #787, lsl #12
|
|
; CHECK: add {{x[0-9]+}}, [[TMP1]], #3344
|
|
store volatile ptr %var1, ptr @addr
|
|
|
|
%var1plus2 = getelementptr i8, ptr %var1, i32 2
|
|
store volatile ptr %var1plus2, ptr @addr
|
|
|
|
; CHECK: add [[TMP:x[0-9]+]], sp, #4095, lsl #12
|
|
; CHECK: add [[TMP1:x[0-9]+]], [[TMP]], #787, lsl #12
|
|
; CHECK: add {{x[0-9]+}}, [[TMP1]], #3328
|
|
store volatile ptr %var2, ptr @addr
|
|
|
|
%var2plus2 = getelementptr i8, ptr %var2, i32 2
|
|
store volatile ptr %var2plus2, ptr @addr
|
|
|
|
store volatile ptr %var3, ptr @addr
|
|
|
|
%var3plus2 = getelementptr i8, ptr %var3, i32 2
|
|
store volatile ptr %var3plus2, ptr @addr
|
|
|
|
; CHECK: add sp, sp, #4095, lsl #12
|
|
; CHECK: add sp, sp, #4095, lsl #12
|
|
; CHECK: add sp, sp, #1575, lsl #12
|
|
; CHECK: add sp, sp, #2576
|
|
; CHECK: .cfi_endproc
|
|
ret void
|
|
}
|
|
|
|
define void @test_mediumframe() {
|
|
; CHECK-LABEL: test_mediumframe:
|
|
%var1 = alloca i8, i32 1000000
|
|
%var2 = alloca i8, i32 16
|
|
%var3 = alloca i8, i32 1000000
|
|
|
|
; CHECK: sub sp, sp, #488, lsl #12 // =1998848
|
|
; CHECK-NEXT: sub sp, sp, #1168
|
|
; CHECK-NEXT: .cfi_def_cfa_offset 2000032
|
|
|
|
store volatile ptr %var1, ptr @addr
|
|
; CHECK: add [[VAR1ADDR:x[0-9]+]], sp, #244, lsl #12
|
|
; CHECK: add [[VAR1ADDR]], [[VAR1ADDR]], #592
|
|
|
|
; CHECK: add [[VAR2ADDR:x[0-9]+]], sp, #244, lsl #12
|
|
; CHECK: add [[VAR2ADDR]], [[VAR2ADDR]], #576
|
|
|
|
store volatile ptr %var2, ptr @addr
|
|
; CHECK: add sp, sp, #488, lsl #12
|
|
; CHECK: add sp, sp, #1168
|
|
ret void
|
|
}
|