Enable tail call optimization for functions that return a struct (bug 3664) and for...
authorArnold Schwaighofer <arnold.schwaighofer@gmail.com>
Sat, 28 Mar 2009 08:33:27 +0000 (08:33 +0000)
committerArnold Schwaighofer <arnold.schwaighofer@gmail.com>
Sat, 28 Mar 2009 08:33:27 +0000 (08:33 +0000)
commite75fd69f15dc1b35d20b12d0e765ea6f2b9ffe0b
tree5d16e8dd25eccdf855e428d8f2f885c10e2b368e
parent1717f3af087e44d2c4b7fe2b35abc29a33d6d315
Enable tail call optimization for functions that return a struct (bug 3664) and for functions that return types that need extending (e.g i1).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67934 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/tailcall-i1.ll [new file with mode: 0644]
test/CodeGen/X86/tailcall-structret.ll [new file with mode: 0644]