summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <quentin.colombet@gmail.com>2023-04-21 20:09:25 +0200
committerQuentin Colombet <quentin.colombet@gmail.com>2023-04-26 06:12:18 +0200
commite02d4142dca48d9359ad304fec629ea3d7e6924c (patch)
tree3aaa3b466b0593883e1a3e33e4723a1b0174efd4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent12cd7e11aad01ba0ff35d76707ba956b2fb14e8b (diff)
[MemRefToLLVM] Add a method in MemRefDescriptor to get the buffer addr
This patch pushes the computation of the start address of a memref in one place (a method in MemRefDescriptor.) This allows all the (indirect) users of this method to produce the start address in the same way. Thanks to this change, we expose more CSEs opportunities and thanks to that, the backend is able to properly find the `llvm.assume` expression related to the base address as demonstrated in the added test. Differential Revision: https://reviews.llvm.org/D148947
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions