aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2022-04-26 17:15:48 -0400
committerAnna Thomas <anna@azul.com>2022-04-27 09:22:10 -0400
commitc515b2f39e77f80b564e53c4c59d8c4d8bd432cf (patch)
treeeeb857ce678c56e69b40a18bf7cb7c0485e377ef /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent70dbb5abd361c217b39693bc5ce6af9d70b2a5cb (diff)
downloadllvm-c515b2f39e77f80b564e53c4c59d8c4d8bd432cf.zip
llvm-c515b2f39e77f80b564e53c4c59d8c4d8bd432cf.tar.gz
llvm-c515b2f39e77f80b564e53c4c59d8c4d8bd432cf.tar.bz2
[IRCE] Avoid computing potentially unnecessary analyses. NFC
IRCE is a function pass that operates on loops. If there are no loops in the function (as seen through LI), we should avoid computing the remaining expensive analyses (such as BPI). Reordered the analyses requests and early return if there are no loops. This is an NFC with compile time improvement. The same will be done in a follow-up patch for the loop vectorizer. Reviewed-By: nikic Differential Revision: https://reviews.llvm.org/D124478
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions