aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-11-19 18:57:15 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-11-27 16:42:38 +0100
commitf492a414bad782ae4202d2af9d3408f8e727599d (patch)
tree330ff86f6f39f89b8d2b2803c0e86e8fe4e54ced /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentc2550e342732d029c3a8ae1eff764d68b1abfc59 (diff)
downloadllvm-f492a414bad782ae4202d2af9d3408f8e727599d.zip
llvm-f492a414bad782ae4202d2af9d3408f8e727599d.tar.gz
llvm-f492a414bad782ae4202d2af9d3408f8e727599d.tar.bz2
[SCEV] Simplify forgetSymbolicName() (NFCI)
With the recently introduced tracking as well as D113349, we can greatly simplify forgetSymbolicName(). In fact, we can simply replace it with forgetMemoizedResults(). What forgetSymbolicName() used to do is to walk the IR use-def chain to find all SCEVs that mention the SymbolicName. However, thanks to use tracking, we can now determine the relevant SCEVs in a more direct way. D113349 is needed to also clear out the actual IR to SCEV mapping in ValueExprMap. Differential Revision: https://reviews.llvm.org/D114263
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions