[llvm-commits] CVS: llvm/test/Feature/calltest.ll

Chris Lattner lattner at cs.uiuc.edu
Thu May 5 23:18:49 PDT 2005



Changes in directory llvm/test/Feature:

calltest.ll updated: 1.4 -> 1.5
---
Log message:

test that tail call survives bytecodification


---
Diffs of the changes:  (+3 -3)

 calltest.ll |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/test/Feature/calltest.ll
diff -u llvm/test/Feature/calltest.ll:1.4 llvm/test/Feature/calltest.ll:1.5
--- llvm/test/Feature/calltest.ll:1.4	Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/calltest.ll	Fri May  6 01:18:33 2005
@@ -9,11 +9,11 @@
 
 implementation
 
-void "invoke"(%FunTy *%x)
-begin
+void "invoke"(%FunTy *%x) {
 	%foo = call %FunTy* %x(int 123)
+	%foo2 = tail call %FunTy* %x(int 123)
 	ret void
-end
+}
 
 int "main"(int %argc)   ; TODO: , sbyte **argv, sbyte **envp)
 begin






More information about the llvm-commits mailing list