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
35 lines
924 B
LLVM
35 lines
924 B
LLVM
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s -check-prefix=PPC32
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=PPC64
|
|
|
|
; PPC32: foo
|
|
; PPC32: mflr 0
|
|
; PPC32: stwu 1, -[[STACK:[0-9]+]](1)
|
|
; PPC32: stw 0, 20(1)
|
|
; PPC32: lwz [[REG:[0-9]+]], [[RETADDR:[0-9]+]](1)
|
|
; PPC32: stw [[REG]], 0(3)
|
|
; PPC32: lwz 0, [[RETADDR]](1)
|
|
; PPC32: addi 1, 1, [[STACK]]
|
|
; PPC32: mtlr 0
|
|
; PPC32: blr
|
|
|
|
; PPC64: foo
|
|
; PPC64: mflr 0
|
|
; PPC64: stdu 1, -[[#%d,STACK:]]
|
|
; PPC64: std 0, [[#%d,RETADDR:]]
|
|
; PPC64: ld [[REG:[0-9]+]]
|
|
; PPC64: std [[REG]], 0(3)
|
|
; PPC64: addi 1, 1, [[#%d,STACK]]
|
|
; PPC64: ld 0, [[#%d,RETADDR-STACK]]
|
|
; PPC64: mtlr 0
|
|
; PPC64: blr
|
|
|
|
define void @foo(ptr %X) nounwind {
|
|
entry:
|
|
%tmp = tail call ptr @llvm.returnaddress( i32 0 ) ; <ptr> [#uses=1]
|
|
store ptr %tmp, ptr %X, align 4
|
|
ret void
|
|
}
|
|
|
|
declare ptr @llvm.returnaddress(i32)
|
|
|