commit | dbebf40a3b70fffe43fed42d98d5cd40480c379a | [log] [tgz] |
---|---|---|
author | Justin Lebar <jlebar@google.com> | Fri Apr 15 01:38:48 2016 +0000 |
committer | Justin Lebar <jlebar@google.com> | Fri Apr 15 01:38:48 2016 +0000 |
tree | 6fc7ac70bd255fa026de79785fa44e895b17293a | |
parent | ddeb008196e0c4c1466031606253a61d3ead3ce7 [diff] |
[TTI] Add getInliningThresholdMultiplier. Summary: InlineCost's threshold is multiplied by this value. This lets us adjust the inlining threshold up or down on a per-target basis. For example, we might want to increase the threshold on targets where calls are unusually expensive. Reviewers: chandlerc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18560 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266405 91177308-0d34-0410-b5e6-96231b3b80d8