1 ; RUN: llc -march=mipsel < %s | FileCheck %s 2 3 declare i8* @llvm.frameaddress(i32) nounwind readnone 4 5 define i8* @f() nounwind uwtable { 6 entry: 7 %0 = call i8* @llvm.frameaddress(i32 0) 8 ret i8* %0 9 10 ; CHECK: .cfi_startproc 11 ; CHECK: .cfi_def_cfa_offset 8 12 ; CHECK: .cfi_offset 30, -4 13 ; CHECK: move $fp, $sp 14 ; CHECK: .cfi_def_cfa_register 30 15 ; CHECK: move $2, $fp 16 ; CHECK: .cfi_endproc 17 } 18