summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/TransformInternals.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
commitcc340c02a4fb7edc193c7f173d8d3745be9e347e (patch)
tree35847c97fd36e8601e40425a841a391caf48392f /llvm/lib/Transforms/TransformInternals.cpp
parentc7745926414b468a77ab74ddf95af05dace588b4 (diff)
downloadbcm5719-llvm-cc340c02a4fb7edc193c7f173d8d3745be9e347e.tar.gz
bcm5719-llvm-cc340c02a4fb7edc193c7f173d8d3745be9e347e.zip
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. llvm-svn: 28641
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud