9ca8d159614fa7799a05b7fca3a417e8c5155085
[oota-llvm.git] / test / CodeGen / Mips / br-jmp.ll
1 ; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=CHECK-PIC
2 ; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC
3 ; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=CHECK-PIC16
4 ; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
5
6 define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone {
7 entry:
8   br label %bosco
9
10 bosco:                                            ; preds = %bosco, %entry
11   br label %bosco
12 }
13
14 ; CHECK-PIC: b  $BB0_1
15 ; CHECK-STATIC: j       $BB0_1
16 ; CHECK-PIC16: b        $BB0_1
17 ; CHECK-STATIC16: b     $BB0_1
18