Author: evancheng
Date: Wed Jul 18 16:39:16 2007
New Revision: 40020

URL: http://llvm.org/viewvc/llvm-project?rev=40020&view=rev
Log:
New test.

Added:
    llvm/trunk/test/CodeGen/X86/epilogue.ll

Added: llvm/trunk/test/CodeGen/X86/epilogue.ll
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/epilogue.ll?rev=40020&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/X86/epilogue.ll (added)
+++ llvm/trunk/test/CodeGen/X86/epilogue.ll Wed Jul 18 16:39:16 2007
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | llc -march=x86 | not grep lea
+; RUN: llvm-as < %s | llc -march=x86 | grep {movl %ebp}
+
+declare void @bar(<2 x i64>* %n)
+
+define void @foo(i64 %h) {
+  %k = trunc i64 %h to i32
+  %p = alloca <2 x i64>, i32 %k
+  call void @bar(<2 x i64>* %p)
+  ret void
+}


_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to