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