mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Test case for r132444.
llvm-svn: 132445
This commit is contained in:
parent
69ae562f33
commit
77501e89a7
12
test/CodeGen/Mips/frame-address.ll
Normal file
12
test/CodeGen/Mips/frame-address.ll
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
; RUN: llc -march=mipsel -mcpu=mips2 < %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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user