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