mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Test case for r132444.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e591477af
commit
f876bf81df
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