mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
f65d050693
llvm-svn: 139405
13 lines
262 B
LLVM
13 lines
262 B
LLVM
; RUN: llc -march=mipsel < %s | FileCheck %s
|
|
|
|
declare i8* @llvm.frameaddress(i32) nounwind readnone
|
|
|
|
define i8* @f() nounwind {
|
|
entry:
|
|
%0 = call i8* @llvm.frameaddress(i32 0)
|
|
ret i8* %0
|
|
|
|
; CHECK: addu $fp, $sp, $zero
|
|
; CHECK: addu $2, $zero, $fp
|
|
}
|