[llvm-commits] [llvm] r147233 - /llvm/trunk/test/CodeGen/Mips/mips64lea.ll
Akira Hatanaka
ahatanaka at mips.com
Fri Dec 23 19:05:43 PST 2011
Author: ahatanak
Date: Fri Dec 23 21:05:43 2011
New Revision: 147233
URL: http://llvm.org/viewvc/llvm-project?rev=147233&view=rev
Log:
Test case for r147232.
Added:
llvm/trunk/test/CodeGen/Mips/mips64lea.ll
Added: llvm/trunk/test/CodeGen/Mips/mips64lea.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/mips64lea.ll?rev=147233&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/mips64lea.ll (added)
+++ llvm/trunk/test/CodeGen/Mips/mips64lea.ll Fri Dec 23 21:05:43 2011
@@ -0,0 +1,12 @@
+; RUN: llc -march=mips64el -mcpu=mips64 < %s | FileCheck %s
+
+define void @foo3() nounwind {
+entry:
+; CHECK: daddiu ${{[0-9]+}}, $sp
+ %a = alloca i32, align 4
+ call void @foo1(i32* %a) nounwind
+ ret void
+}
+
+declare void @foo1(i32*)
+
More information about the llvm-commits
mailing list