diff options
author | Easwaran Raman <eraman@google.com> | 2019-01-05 02:26:29 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2019-01-05 02:26:29 +0000 |
commit | 366a873f144a065ef7ec1ec37d4bffdc55bb6baa (patch) | |
tree | 0e5415d17a2df6cc8b208186f90739914e3503e9 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 45ec002e25318e8444b3301e94ed53f4cf1a3e79 (diff) | |
download | bcm5719-llvm-366a873f144a065ef7ec1ec37d4bffdc55bb6baa.tar.gz bcm5719-llvm-366a873f144a065ef7ec1ec37d4bffdc55bb6baa.zip |
[Inliner] Optimize shouldBeDeferred
This has some minor optimizations to shouldBeDeferred. This is not
strictly NFC because the early exit inside the loop assumes
TotalSecondaryCost is monotonically non-decreasing, which is not true if
the threshold used by CostAnalyzer is negative. AFAICT the thresholds do
not go below 0 for the default values of the various options we use.
llvm-svn: 350456
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions