Test case for r146432 by Jack Carter.

llvm-svn: 146433
This commit is contained in:
Akira Hatanaka 2011-12-12 22:41:39 +00:00
parent 5d5e0d819d
commit 9e5908ae3a
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=CHECK-PIC
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC
define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone {
entry:
br label %bosco
bosco: ; preds = %bosco, %entry
br label %bosco
}
; CHECK-PIC: b $BB0_1
; CHECK-STATIC: j $BB0_1