[llvm-commits] [llvm] r58745 - /llvm/trunk/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
Devang Patel
dpatel at apple.com
Tue Nov 4 17:40:30 PST 2008
Author: dpatel
Date: Tue Nov 4 19:40:30 2008
New Revision: 58745
URL: http://llvm.org/viewvc/llvm-project?rev=58745&view=rev
Log:
New test case.
Added:
llvm/trunk/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
Added: llvm/trunk/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2008-11-04-AlwaysInline.ll?rev=58745&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/Inline/2008-11-04-AlwaysInline.ll (added)
+++ llvm/trunk/test/Transforms/Inline/2008-11-04-AlwaysInline.ll Tue Nov 4 19:40:30 2008
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | opt -always-inline | llvm-dis | grep {@foo}
+; Ensure that foo is not removed by always inliner
+
+define internal i32 @foo() nounwind {
+ ret i32 0
+}
More information about the llvm-commits
mailing list