mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
8d412f5a8a
"move $4, $5" is printed instead of "or $4, $5, $zero". llvm-svn: 176455
13 lines
248 B
LLVM
13 lines
248 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: move $fp, $sp
|
|
; CHECK: move $2, $fp
|
|
}
|