[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / CodeGen / Mips / micromips-attr.ll
blob1ea9b136e1d4012739ab2abe2d67e63c1f51e305
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" "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" "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" "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" "unsafe-fp-math"="false"
38   "use-soft-float"="false"