aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/BasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-04 01:41:09 +0000
committerChris Lattner <sabre@nondot.org>2004-02-04 01:41:09 +0000
commit5052c911ec1be51ecb36e7f025c26412e9f1bfac (patch)
treed8db4801b0fdb484807446b5cb59abc9935ccbbc /lib/VMCore/BasicBlock.cpp
parent23b4c68f465373f5c82551e42725af5dc150221f (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
Diffstat (limited to 'lib/VMCore/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions