Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=pic   < %s | FileCheck %s 
      2 
      3 ; Function Attrs: nounwind optsize
      4 define float @h()  {
      5 entry:
      6   %call = tail call float bitcast (float (...)* @g to float ()*)() 
      7   ret float %call
      8 ; CHECK:	.ent	h
      9 ; CHECK: 	save	$16, $ra, $18, 32
     10 ; CHECK: 	lw	${{[0-9]+}}, %got(__mips16_call_stub_sf_0)(${{[0-9]+}})
     11 ; CHECK: 	restore	$16, $ra, $18, 32
     12 ; CHECK: 	.end	h
     13 }
     14 
     15 ; Function Attrs: optsize
     16 declare float @g(...) 
     17 
     18 
     19 
     20 
     21