50 lines · plain
1; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=322 3define void @foo() #0 {4entry:5 ret void6}7 8; 32: .set mips169; 32: .ent foo10; 32: jrc $ra11; 32: .end foo12define void @nofoo() #1 {13entry:14 ret void15}16 17; 32: .set nomips1618; 32: .ent nofoo19; 32: .set noreorder20; 32: .set nomacro21; 32: .set noat22; 32: jr $ra23; 32: nop24; 32: .set at25; 32: .set macro26; 32: .set reorder27; 32: .end nofoo28define i32 @main() #2 {29entry:30 ret i32 031}32 33; 32: .set mips1634; 32: .ent main35; 32: jrc $ra36; 32: .end main37 38 39 40 41 42 43 44 45 46 47attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "use-soft-float"="false" }48attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "use-soft-float"="false" }49attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "use-soft-float"="false" }50