1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/PowerPC/aix-calleesavedregs.ll
Sean Fertile ae425e7b58 [PowerPC][AIX] Spill CSRs to the ABI specified stack offsets.
Extend the CSR save/restore insertion code to support both 32-bit and
64-bit AIX.

Differential Revision: https://reviews.llvm.org/D79252
2020-05-26 12:24:29 -04:00

12 lines
287 B
LLVM

; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec \
; RUN: -mtriple powerpc-ibm-aix-xcoff -O0 < %s | \
; RUN: FileCheck --check-prefixes=CHECK %s
define void @usethirteen() {
call void asm "nop", "~{r13}"()
ret void
}
; CHECK: stw 13, -76(1)
; CHECK: lwz 13, -76(1)