Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mipsel < %s | FileCheck %s
      2 
      3 declare i8* @llvm.frameaddress(i32) nounwind readnone
      4 
      5 define i8* @f() nounwind {
      6 entry:
      7   %0 = call i8* @llvm.frameaddress(i32 0)
      8   ret i8* %0
      9 
     10 ; CHECK:   addu    $fp, $sp, $zero
     11 ; CHECK:   addu    $2, $zero, $fp
     12 }
     13