brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 02a0426 Raw
28 lines · plain
1; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC2; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC3; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC164; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC165; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMM6; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMM7; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMMR68; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMMR69 10 11 12define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone {13entry:14  br label %bosco15 16bosco:                                            ; preds = %bosco, %entry17  br label %bosco18}19 20; PIC:        b  $BB0_1 # <MCInst #{{.*}} BEQ21; PICMM:      b  $BB0_1 # <MCInst #{{.*}} BEQ_MM22; STATIC:     j  $BB0_1 # <MCInst #{{.*}} J23; STATICMM:   j  $BB0_1 # <MCInst #{{.*}} J_MM24; STATICMMR6: bc $BB0_1 # <MCInst #{{.*}} BC_MMR625; PICMMR6:    bc $BB0_1 # <MCInst #{{.*}} BC_MMR626; PIC16:      b  $BB0_127; STATIC16:   b  $BB0_128