blob: 78bcc04a9b0c5851cdbf800816373c3dd5f10c35 [file] [log] [blame]
Simon Atanasyane0b726f2017-05-22 12:47:41 +00001; RUN: llc -march=mips -mcpu=mips32 --mattr=-micromips < %s | FileCheck %s
2
3define void @foo() #0 {
4entry:
5 ret void
6}
7; CHECK: .set micromips
8; CHECK-NEXT: .set nomips16
9; CHECK-NEXT: .ent foo
10; CHECK-NEXT: foo:
11
12define void @bar() #1 {
13entry:
14 ret void
15}
16; CHECK: .set nomicromips
17; CHECK-NEXT: .set nomips16
18; CHECK-NEXT: .ent bar
19; 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" "no-frame-pointer-elim"="false"
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" "unsafe-fp-math"="false"
28 "use-soft-float"="false"
29}
30
31attributes #1 = {
32 nounwind
33 "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false"
34 "less-precise-fpmad"="false" "no-frame-pointer-elim"="false"
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" "unsafe-fp-math"="false"
38 "use-soft-float"="false"
39}