[ARM] Cortex-M4 schedule additions
[llvm-complete.git] / test / CodeGen / Mips / micromips-attr.ll
blob78bcc04a9b0c5851cdbf800816373c3dd5f10c35
1 ; RUN: llc -march=mips -mcpu=mips32 --mattr=-micromips < %s | FileCheck %s 
3 define void @foo() #0 {
4 entry:
5   ret void
7 ; CHECK:        .set    micromips
8 ; CHECK-NEXT:   .set    nomips16
9 ; CHECK-NEXT:   .ent    foo
10 ; CHECK-NEXT: foo:
12 define void @bar() #1 {
13 entry:
14   ret void
16 ; CHECK:        .set    nomicromips
17 ; CHECK-NEXT:   .set    nomips16
18 ; CHECK-NEXT:   .ent    bar
19 ; CHECK-NEXT: bar:
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"
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"