summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2019-09-17 23:12:13 +0000
committerTeresa Johnson <tejohnson@google.com>2019-09-17 23:12:13 +0000
commitfd2044f29993ea014898cf0a21a03b2a147e6340 (patch)
tree8f459dae1474be97c333138baec13b62f6e65d82 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent241b02e762872173dcb5bd27ff9fe3eb7dce1db2 (diff)
downloadbcm5719-llvm-fd2044f29993ea014898cf0a21a03b2a147e6340.tar.gz
bcm5719-llvm-fd2044f29993ea014898cf0a21a03b2a147e6340.zip
[PGO] Change hardcoded thresholds for cold/inlinehint to use summary
Summary: The PGO counter reading will add cold and inlinehint (hot) attributes to functions that are very cold or hot. This was using hardcoded thresholds, instead of the profile summary cutoffs which are used in other hot/cold detection and are more dynamic and adaptable. Switch to using the summary-based cold/hot detection. The hardcoded limits were causing some code that had a medium level of hotness (per the summary) to be incorrectly marked with a cold attribute, blocking inlining. Reviewers: davidxl Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67673 llvm-svn: 372189
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud