aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2019-04-26 00:12:50 +0000
committerJustin Bogner <mail@justinbogner.com>2019-04-26 00:12:50 +0000
commitdf5d2b3846d9aecd36a943ada5be215b86db5d99 (patch)
treecd97a1677c0c31d747bab23ae74c1e73040c1c8d /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent4f71049a39dc7ebbb957dc701f77cd6191b20e3c (diff)
downloadllvm-df5d2b3846d9aecd36a943ada5be215b86db5d99.zip
llvm-df5d2b3846d9aecd36a943ada5be215b86db5d99.tar.gz
llvm-df5d2b3846d9aecd36a943ada5be215b86db5d99.tar.bz2
[GlobalOpt] Swap the expensive check for cold calls with the cheap TTI check
isValidCandidateForColdCC is much more expensive than TTI.useColdCCForColdCall, which by default just returns false. Avoid doing this work if we're not going to look at the answer anyway. This change is NFC, but I see significant compile time improvements on some code with pathologically many functions. llvm-svn: 359253
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions