Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc  -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32  | FileCheck %s -check-prefix=32
      2 
      3 define void @foo() #0 {
      4 entry:
      5   ret void
      6 }
      7 
      8 ; 32: 	.set	mips16
      9 ; 32: 	.ent	foo
     10 ; 32:	jrc $ra
     11 ; 32:	.end	foo
     12 define void @nofoo() #1 {
     13 entry:
     14   ret void
     15 }
     16 
     17 ; 32: 	.set	nomips16
     18 ; 32: 	.ent	nofoo
     19 ; 32:	.set	noreorder
     20 ; 32:	.set	nomacro
     21 ; 32:	.set	noat
     22 ; 32:	jr	$ra
     23 ; 32:	nop
     24 ; 32:	.set	at
     25 ; 32:	.set	macro
     26 ; 32:	.set	reorder
     27 ; 32:	.end	nofoo
     28 define i32 @main() #2 {
     29 entry:
     30   ret i32 0
     31 }
     32 
     33 ; 32: 	.set	mips16
     34 ; 32: 	.ent	main
     35 ; 32:	jrc $ra
     36 ; 32:	.end	main
     37 
     38 
     39 
     40 
     41 
     42 
     43 
     44 
     45 
     46 
     47 attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
     48 attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false"  "unsafe-fp-math"="false" "use-soft-float"="false" }
     49 attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
     50