commit | b17124553d569c6f09347f2cbe072eab445d30c4 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Jan 27 06:25:16 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Jan 27 06:25:16 2010 +0000 |
tree | 39c5762a493512780ffb1359bcb9211b457b609e | |
parent | 0a65a1441731c5fcf08647e95c9802844da68514 [diff] |
Perform trivial tail call optimization for callees with "C" ABI. These are done 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