diff options
author | Antonio Frighetto <me@antoniofrighetto.com> | 2024-07-25 09:18:53 +0200 |
---|---|---|
committer | Antonio Frighetto <me@antoniofrighetto.com> | 2024-07-25 09:24:56 +0200 |
commit | 6ce7b1f86115f475ee00003ee04833781a675e3e (patch) | |
tree | 94fdfcdafd3129559a9b1a0c39f5af6bf54f3901 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | dfe650cdc884af3298cb3378aa1631545a13b720 (diff) | |
download | llvm-6ce7b1f86115f475ee00003ee04833781a675e3e.zip llvm-6ce7b1f86115f475ee00003ee04833781a675e3e.tar.gz llvm-6ce7b1f86115f475ee00003ee04833781a675e3e.tar.bz2 |
[TBAA] Do not rewrite TBAA if exists, always null out `!tbaa.struct`
Retrieve `!tbaa` metadata via `!tbaa.struct` in `adjustForAccess`
unless it already exists, as struct-path aware `MDNodes` emitted
via `new-struct-path-tbaa` may be leveraged. As `!tbaa.struct`
carries memcpy padding semantics among struct fields and `!tbaa`
is already meant to aid to alias semantics, it should be possible
to zero out `!tbaa.struct` once the memcpy has been simplified.
`SROA/tbaa-struct.ll` test has gone out of scope, as `!tbaa` has
already replaced `!tbaa.struct` in SROA.
Fixes: https://github.com/llvm/llvm-project/issues/95661.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions