diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-03-13 23:15:45 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-03-13 23:15:45 +0000 |
| commit | 2dc85b27e4de4e414faab987022f194c98160051 (patch) | |
| tree | 3731660ede8b97a2edfbabee811fb436c470c28e /llvm/lib/Transforms/TransformInternals.cpp | |
| parent | 797cb2f6c1ddbf4f0bc3e8cf9f6f94cc8a448741 (diff) | |
| download | bcm5719-llvm-2dc85b27e4de4e414faab987022f194c98160051.tar.gz bcm5719-llvm-2dc85b27e4de4e414faab987022f194c98160051.zip | |
This change makes two big adjustments.
* Be a lot more accurate about what the effects will be when inlining a call
to a function when an argument is an alloca.
* Dramatically reduce the penalty for inlining a call in a large function.
This heuristic made it almost impossible to inline a function into a large
function, no matter how small the callee is.
llvm-svn: 12363
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.cpp')
0 files changed, 0 insertions, 0 deletions

