commit | c85e1716f0e45e4c18a9ef2fbe431a51ac3a4252 | [log] [tgz] |
---|---|---|
author | Arnold Schwaighofer <arnold.schwaighofer@gmail.com> | Thu Oct 11 19:40:01 2007 +0000 |
committer | Arnold Schwaighofer <arnold.schwaighofer@gmail.com> | Thu Oct 11 19:40:01 2007 +0000 |
tree | e6e745a81699085d757db166e645f8a6639cde7a | |
parent | 68c8411ef591818d89c6a81098a328fcd75be72a [diff] |
Added tail call optimization to the x86 back end. It can be 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