[llvm-commits] [llvm] r160177 - /llvm/trunk/test/MC/Mips/multi-64bit-func.ll
Jack Carter
jcarter at mips.com
Fri Jul 13 11:14:01 PDT 2012
Author: jacksprat
Date: Fri Jul 13 13:14:01 2012
New Revision: 160177
URL: http://llvm.org/viewvc/llvm-project?rev=160177&view=rev
Log:
test case for revision 160084: Alignment filling between Mips function units
Added:
llvm/trunk/test/MC/Mips/multi-64bit-func.ll
Added: llvm/trunk/test/MC/Mips/multi-64bit-func.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/multi-64bit-func.ll?rev=160177&view=auto
==============================================================================
--- llvm/trunk/test/MC/Mips/multi-64bit-func.ll (added)
+++ llvm/trunk/test/MC/Mips/multi-64bit-func.ll Fri Jul 13 13:14:01 2012
@@ -0,0 +1,23 @@
+; There is no real check here. If the test doesn't
+; assert it passes.
+; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s
+; Run it again without extra nop in delay slot
+; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -enable-mips-delay-filler < %s
+
+define i32 @bosco1(i32 %x) nounwind readnone {
+entry:
+ %inc = add i32 %x, 1
+ ret i32 %inc
+}
+
+define i32 @bosco2(i32 %x) nounwind readnone {
+entry:
+ %inc = add i32 %x, 1
+ ret i32 %inc
+}
+
+define i32 @bosco3(i32 %x) nounwind readnone {
+entry:
+ %inc = add i32 %x, 1
+ ret i32 %inc
+}
More information about the llvm-commits
mailing list