59 lines · plain
1; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=162 3define void @foo() #0 {4entry:5 ret void6}7; 16: .set nomips168; 16: .ent foo9; 16: .set noreorder10; 16: .set nomacro11; 16: .set noat12; 16: jr $ra13; 16: nop14; 16: .set at15; 16: .set macro16; 16: .set reorder17; 16: .end foo18 19define void @nofoo() #1 {20entry:21 ret void22}23 24; 16: .set mips1625; 16: .ent nofoo26 27; 16: jrc $ra28; 16: .end nofoo29 30define i32 @main() #2 {31entry:32 ret i32 033}34 35; 16: .set nomips1636; 16: .ent main37; 16: .set noreorder38; 16: .set nomacro39; 16: .set noat40; 16: jr $ra41; 16: .set at42; 16: .set macro43; 16: .set reorder44; 16: .end main45 46 47 48 49 50 51 52 53 54 55 56attributes #0 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "use-soft-float"="false" }57attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "use-soft-float"="false" }58attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "use-soft-float"="false" }59