From d100d4c3e9e5ced183408dde6d2eb576f30a92a0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 6 May 2005 06:18:33 +0000 Subject: [PATCH] test that tail call survives bytecodification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21728 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/calltest.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Feature/calltest.ll b/test/Feature/calltest.ll index 8adbe493718..861d7632d41 100644 --- a/test/Feature/calltest.ll +++ b/test/Feature/calltest.ll @@ -9,11 +9,11 @@ declare int "test"() ; Differ only by vararg 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