aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm2cpp/CppWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-01 19:19:23 +0000
committerChris Lattner <sabre@nondot.org>2006-06-01 19:19:23 +0000
commit35033efd08420a8a2aad14083a0178e2edebdfd6 (patch)
treec7baf0ce8719738fa524d51ca180877fde17f939 /tools/llvm2cpp/CppWriter.cpp
parent620fd68b1086b4d99b23951357299bee357aa62a (diff)
Make the "pruning cloner" smarter. As it propagates constants through the
code (while cloning) it often gets the branch/switch instructions. Since it knows that edges of the CFG are dead, it need not clone (or even look) at the obviously dead blocks. This should speed up the inliner substantially on code where there are lots of inlinable calls to functions with constant arguments. On C++ code in particular, this kicks in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm2cpp/CppWriter.cpp')
0 files changed, 0 insertions, 0 deletions