diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:18:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:18:33 +0000 |
commit | d100d4c3e9e5ced183408dde6d2eb576f30a92a0 (patch) | |
tree | c53b999d09ae2da3d70d2cb41f0f0c27413ac0b7 /test/Feature/calltest.ll | |
parent | 38287bdfde17249ed4725aa906ec15c59ccfe610 (diff) | |
download | llvm-d100d4c3e9e5ced183408dde6d2eb576f30a92a0.tar.gz llvm-d100d4c3e9e5ced183408dde6d2eb576f30a92a0.tar.bz2 llvm-d100d4c3e9e5ced183408dde6d2eb576f30a92a0.tar.xz |
test that tail call survives bytecodification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/calltest.ll')
-rw-r--r-- | test/Feature/calltest.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/calltest.ll b/test/Feature/calltest.ll index 8adbe49371..861d7632d4 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 |