commit | 5052c911ec1be51ecb36e7f025c26412e9f1bfac | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 04 01:41:09 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 04 01:41:09 2004 +0000 |
tree | d8db4801b0fdb484807446b5cb59abc9935ccbbc | |
parent | 23b4c68f465373f5c82551e42725af5dc150221f [diff] |
Move the cloning of the function body much earlier in the inlinefunction process. The only optimization we did so far is to avoid creating a PHI node, then immediately destroying it in the common case where the callee has one return statement. Instead, we just don't create the return value. This has no noticable performance impact, but paves the way for future improvements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11108 91177308-0d34-0410-b5e6-96231b3b80d8