Follow up to r165072. Try a different approach: only move the load when it's going...
[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
4 define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone {
5 entry:
6   br label %bosco
7
8 bosco:                                            ; preds = %bosco, %entry
9   br label %bosco
10 }
11
12 ; CHECK-PIC: b  $BB0_1
13 ; CHECK-STATIC: j       $BB0_1