Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -asm-show-inst -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
      2 ; RUN: llc -asm-show-inst -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC
      3 ; RUN: llc -asm-show-inst -march=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC16
      4 ; RUN: llc -asm-show-inst -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC16
      5 ; RUN: llc -asm-show-inst -march=mips -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMM
      6 ; RUN: llc -asm-show-inst -march=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMM
      7 ; RUN: llc -asm-show-inst -march=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMMR6
      8 ; RUN: llc -asm-show-inst -march=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMMR6
      9 
     10 
     11 
     12 define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone {
     13 entry:
     14   br label %bosco
     15 
     16 bosco:                                            ; 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