mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Add more addFrameMove test coverage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aba2d6d051
commit
26bca5816d
@ -2,11 +2,16 @@
|
|||||||
|
|
||||||
declare i8* @llvm.frameaddress(i32) nounwind readnone
|
declare i8* @llvm.frameaddress(i32) nounwind readnone
|
||||||
|
|
||||||
define i8* @f() nounwind {
|
define i8* @f() nounwind uwtable {
|
||||||
entry:
|
entry:
|
||||||
%0 = call i8* @llvm.frameaddress(i32 0)
|
%0 = call i8* @llvm.frameaddress(i32 0)
|
||||||
ret i8* %0
|
ret i8* %0
|
||||||
|
|
||||||
|
; CHECK: .cfi_startproc
|
||||||
|
; CHECK: .cfi_def_cfa_offset 8
|
||||||
|
; CHECK: .cfi_offset 30, -4
|
||||||
; CHECK: move $fp, $sp
|
; CHECK: move $fp, $sp
|
||||||
|
; CHECK: .cfi_def_cfa_register 30
|
||||||
; CHECK: move $2, $fp
|
; CHECK: move $2, $fp
|
||||||
|
; CHECK: .cfi_endproc
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user