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 | 619d3544b19dfdc0006bb0f036253d76488fc212 (patch) | |
tree | 828eaf8ec4737c97e623243293239bb7a6c3f625 /include/llvm/Transforms/Utils/Local.h | |
parent | 786c5646e9cd15f18a6a7938673f74b02a05adb8 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/Local.h')
0 files changed, 0 insertions, 0 deletions