mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
ae425e7b58
Extend the CSR save/restore insertion code to support both 32-bit and 64-bit AIX. Differential Revision: https://reviews.llvm.org/D79252
12 lines
287 B
LLVM
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)
|