1; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
2; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC
3; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC16
4; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC16
5; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMM
6; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMM
7; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMMR6
8; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMMR6
9
10
11
12define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone {
13entry:
14  br label %bosco
15
16bosco:                                            ; preds = %bosco, %entry
17  br label %bosco
18}
19
20; PIC:        b  $BB0_1 # <MCInst #{{.*}} BEQ
21; PICMM:      b  $BB0_1 # <MCInst #{{.*}} BEQ_MM
22; STATIC:     j  $BB0_1 # <MCInst #{{.*}} J
23; STATICMM:   j  $BB0_1 # <MCInst #{{.*}} J_MM
24; STATICMMR6: bc $BB0_1 # <MCInst #{{.*}} BC_MMR6
25; PICMMR6:    bc $BB0_1 # <MCInst #{{.*}} BC_MMR6
26; PIC16:      b  $BB0_1
27; STATIC16:   b  $BB0_1
28