mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
ab5183047b
for the linux targets. llvm-svn: 106029
18 lines
395 B
LLVM
18 lines
395 B
LLVM
; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN
|
|
; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=LINUX
|
|
; PR4344
|
|
; PR4416
|
|
|
|
define i8* @t() nounwind {
|
|
entry:
|
|
; DARWIN: t:
|
|
; DARWIN: mov r0, r7
|
|
|
|
; LINUX: t:
|
|
; LINUX: mov r0, r11
|
|
%0 = call i8* @llvm.frameaddress(i32 0)
|
|
ret i8* %0
|
|
}
|
|
|
|
declare i8* @llvm.frameaddress(i32) nounwind readnone
|