40 lines · plain
1; RUN: llc -mtriple=mips -mcpu=mips32 --mattr=-micromips < %s | FileCheck %s 2 3define void @foo() #0 {4entry:5 ret void6}7; CHECK: .set micromips8; CHECK-NEXT: .set nomips169; CHECK-NEXT: .ent foo10; CHECK-NEXT: foo:11 12define void @bar() #1 {13entry:14 ret void15}16; CHECK: .set nomicromips17; CHECK-NEXT: .set nomips1618; CHECK-NEXT: .ent bar19; CHECK-NEXT: bar:20 21attributes #0 = {22 nounwind "micromips"23 "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false"24 "less-precise-fpmad"="false" "frame-pointer"="none"25 "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false"26 "no-signed-zeros-fp-math"="false" "no-trapping-math"="false"27 "stack-protector-buffer-size"="8"28 "use-soft-float"="false"29}30 31attributes #1 = {32 nounwind33 "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false"34 "less-precise-fpmad"="false" "frame-pointer"="none"35 "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false"36 "no-signed-zeros-fp-math"="false" "no-trapping-math"="false"37 "stack-protector-buffer-size"="8"38 "use-soft-float"="false"39}40