new testcase
authorChris Lattner <sabre@nondot.org>
Tue, 10 May 2005 00:33:36 +0000 (00:33 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 10 May 2005 00:33:36 +0000 (00:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21837 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/TailCallElim/trivial_codegen_tailcall.ll [new file with mode: 0644]

diff --git a/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll b/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
new file mode 100644 (file)
index 0000000..d27b9dc
--- /dev/null
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | grep 'tail call void %foo'
+
+declare void %foo()
+
+
+void %bar() {
+       call void %foo()
+       ret void
+}
+
+