aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/tailcall1.ll
Commit message (Collapse)AuthorAgeFilesLines
* In guaranteed tailcall mode, don't decline the tailcall optimizationDan Gohman2010-02-081-1/+4
| | | | | | | for blocks ending in "unreachable". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95565 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 94937 and move the noreturn check to codegen.Evan Cheng2010-02-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95198 91177308-0d34-0410-b5e6-96231b3b80d8
* Perform trivial tail call optimization for callees with "C" ABI. These are doneEvan Cheng2010-01-271-2/+2
| | | | | | | | | | even when -tailcallopt is not specified and it does not require changing ABI. First case is the most trivial one. Perform tail call optimization when both the caller and callee do not return values and when the callee does not take any input arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94664 91177308-0d34-0410-b5e6-96231b3b80d8
* Tidy up this testcase and add test for tailcall optimizationDan Gohman2009-12-181-7/+12
| | | | | | | with unreachable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91650 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable the tail call optimization when the caller returns undef.Dan Gohman2009-11-141-1/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88737 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't let a noalias difference disrupt the tailcall optimization.Dan Gohman2009-11-131-1/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88672 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
* Added missing -march=x86 flag.Arnold Schwaighofer2007-10-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42893 91177308-0d34-0410-b5e6-96231b3b80d8
* Added tail call optimization to the x86 back end. It can beArnold Schwaighofer2007-10-111-0/+11
enabled by passing -tailcallopt to llc. The optimization is performed if the following conditions are satisfied: * caller/callee are fastcc * elf/pic is disabled OR elf/pic enabled + callee is in module + callee has visibility protected or hidden git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42870 91177308-0d34-0410-b5e6-96231b3b80d8