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
61 lines
1.6 KiB
LLVM
61 lines
1.6 KiB
LLVM
; RUN: llc -O0 -frame-pointer=all < %s | FileCheck %s
|
|
|
|
; Check that CFI instructions are generated properly when
|
|
; a frame pointer, variable length array and callee-saved
|
|
; registers are all present at the same time
|
|
|
|
target datalayout = "e-m:e-p:16:16-i32:16-i64:16-f32:16-f64:16-a:8-n8:16-S16"
|
|
target triple = "msp430-unknown-unknown-elf"
|
|
|
|
@g = global float 0.0
|
|
@N = external global i16, align 2
|
|
|
|
define void @foo() {
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: push r4
|
|
; CHECK-NEXT: .cfi_def_cfa_offset 4
|
|
; CHECK-NEXT: .cfi_offset r4, -4
|
|
; CHECK-NEXT: mov r1, r4
|
|
; CHECK-NEXT: .cfi_def_cfa_register r4
|
|
; CHECK: push r6
|
|
; CHECK-NEXT: push r7
|
|
; CHECK-NEXT: push r8
|
|
; CHECK-NEXT: push r9
|
|
; CHECK-NEXT: push r10
|
|
; CHECK: .cfi_offset r6, -6
|
|
; CHECK: .cfi_offset r7, -8
|
|
; CHECK: .cfi_offset r8, -10
|
|
; CHECK: .cfi_offset r9, -12
|
|
; CHECK: .cfi_offset r10, -14
|
|
|
|
%n = load i16, ptr @N, align 2
|
|
%vla = alloca i8, i16 %n, align 1
|
|
%t1 = load volatile float, ptr @g
|
|
%t2 = load volatile float, ptr @g
|
|
%t3 = load volatile float, ptr @g
|
|
%t4 = load volatile float, ptr @g
|
|
%t5 = load volatile float, ptr @g
|
|
store volatile float %t1, ptr @g
|
|
store volatile float %t2, ptr @g
|
|
store volatile float %t3, ptr @g
|
|
store volatile float %t4, ptr @g
|
|
store volatile float %t5, ptr @g
|
|
|
|
; CHECK: mov r4, r1
|
|
; CHECK-NEXT: sub #10, r1
|
|
; CHECK: pop r10
|
|
; CHECK-NEXT: pop r9
|
|
; CHECK-NEXT: pop r8
|
|
; CHECK-NEXT: pop r7
|
|
; CHECK-NEXT: pop r6
|
|
; CHECK: pop r4
|
|
; CHECK: .cfi_def_cfa r1, 2
|
|
; CHECK: .cfi_restore r6
|
|
; CHECK: .cfi_restore r7
|
|
; CHECK: .cfi_restore r8
|
|
; CHECK: .cfi_restore r9
|
|
; CHECK: .cfi_restore r10
|
|
|
|
ret void
|
|
}
|