diff options
author | Nikita Popov <npopov@redhat.com> | 2022-01-13 12:39:43 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-01-17 09:28:36 +0100 |
commit | 4796b4ae7bccc7b75a26b666fbd554c49b274404 (patch) | |
tree | 9eea607fa7af0fd341431ec7181c597eada764e8 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 64c108c9e4e0525328ceb4da55e4ab4b765d4c27 (diff) | |
download | llvm-4796b4ae7bccc7b75a26b666fbd554c49b274404.zip llvm-4796b4ae7bccc7b75a26b666fbd554c49b274404.tar.gz llvm-4796b4ae7bccc7b75a26b666fbd554c49b274404.tar.bz2 |
[GlobalOpt] Make global SRA offset based
Currently global SRA uses the GEP structure to determine how to
split the global. This patch instead analyses the loads and stores
that are performed on the global, and collects which types are used
at which offset, and then splits the global according to those.
This is both more general, and works fine with opaque pointers.
This is also closer to how ordinary SROA is performed.
Differential Revision: https://reviews.llvm.org/D117223
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions