[llvm-commits] [llvm] r146433 - /llvm/trunk/test/CodeGen/Mips/br-jmp.ll
Akira Hatanaka
ahatanaka at mips.com
Mon Dec 12 14:41:39 PST 2011
Author: ahatanak
Date: Mon Dec 12 16:41:39 2011
New Revision: 146433
URL: http://llvm.org/viewvc/llvm-project?rev=146433&view=rev
Log:
Test case for r146432 by Jack Carter.
Added:
llvm/trunk/test/CodeGen/Mips/br-jmp.ll
Added: llvm/trunk/test/CodeGen/Mips/br-jmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/br-jmp.ll?rev=146433&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/br-jmp.ll (added)
+++ llvm/trunk/test/CodeGen/Mips/br-jmp.ll Mon Dec 12 16:41:39 2011
@@ -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
More information about the llvm-commits
mailing list