[llvm-commits] CVS: llvm/test/Regression/Transforms/TailCallElim/trivial_codegen_tailcall.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon May 9 17:33:53 PDT 2005
Changes in directory llvm/test/Regression/Transforms/TailCallElim:
trivial_codegen_tailcall.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+11 -0)
trivial_codegen_tailcall.ll | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/test/Regression/Transforms/TailCallElim/trivial_codegen_tailcall.ll
diff -c /dev/null llvm/test/Regression/Transforms/TailCallElim/trivial_codegen_tailcall.ll:1.1
*** /dev/null Mon May 9 19:33:47 2005
--- llvm/test/Regression/Transforms/TailCallElim/trivial_codegen_tailcall.ll Mon May 9 19:33:36 2005
***************
*** 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
+ }
+
+
More information about the llvm-commits
mailing list