Simon Atanasyan | e0b726f | 2017-05-22 12:47:41 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=mips -mcpu=mips32 --mattr=-micromips < %s | FileCheck %s |
| 2 | |
| 3 | define void @foo() #0 { |
| 4 | entry: |
| 5 | ret void |
| 6 | } |
| 7 | ; CHECK: .set micromips |
| 8 | ; CHECK-NEXT: .set nomips16 |
| 9 | ; CHECK-NEXT: .ent foo |
| 10 | ; CHECK-NEXT: foo: |
| 11 | |
| 12 | define void @bar() #1 { |
| 13 | entry: |
| 14 | ret void |
| 15 | } |
| 16 | ; CHECK: .set nomicromips |
| 17 | ; CHECK-NEXT: .set nomips16 |
| 18 | ; CHECK-NEXT: .ent bar |
| 19 | ; CHECK-NEXT: bar: |
| 20 | |
| 21 | attributes #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 | |
| 31 | attributes #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 | } |