summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-06-13 14:24:50 +0100
committerFlorian Hahn <flo@fhahn.com>2020-06-14 20:55:59 +0100
commit6176f04436bb71825bb8ad51d13e4349daa3b506 (patch)
tree1d3752074026b19bcd148c78c59ade2f66610a1c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent5225cd43e8ff86a43e5ee627c818e82b764065a6 (diff)
[LAA] Do not set CanDoRT to false for AS that do not need RT checks.
Alternative approach to D80570. canCheckPtrAtRT already contains checks the figure out for which alias sets runtime checks are needed. But it currently sets CanDoRT to false for alias sets for which we cannot do RT checks but also do not need any. If we know that we do not need RT checks based on the number of reads/writes in the alias set, we can skip processing the AS. This patch also adds an assertion to ensure that DepCands does not contain more than one write from the alias set. Reviewers: Ayal, anemet, hfinkel, dmgreen Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D80622
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions