summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorweiguozhi <57237827+weiguozhi@users.noreply.github.com>2024-09-18 09:12:04 -0700
committerGitHub <noreply@github.com>2024-09-18 09:12:04 -0700
commit6b3c9e5c20e36d7c8a0dbabd9e71be8522d2dde4 (patch)
tree9429d6668d5e1d9d804c2c982af73853780b8b96 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent2731be7ac505f9ef2e90b77b84ef0fbe411bf9f5 (diff)
[X86] Speed up X86 Domain Reassignment pass by early return (#108108)
Current implementation of X86 Domain Reassignment pass is finding out the complete closure of a general register, then check if it's possible to change the domain. It causes compile time issue when compiling large functions. This patch checks the possibility of change domain in the process of constructing closure, if it's illegal to change domain, we can return immedietely. For one of our large files, it reduced X86 Domain Reassignment pass time from 200+ seconds to less than 1s.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions