diff options
| author | Florian Hahn <flo@fhahn.com> | 2024-02-16 13:45:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-16 13:45:01 +0000 |
| commit | 53c0e809faacfffce097c7d220836f4f41b3979a (patch) | |
| tree | d07225ce765214db911260f02d53e660920312bb /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | |
| parent | 17d8a84c32b7a3ecc3080c33fe2c780f029691a3 (diff) | |
[SROA] Use !tbaa instead of !tbaa.struct if op matches field. (#81289)
If a split memory access introduced by SROA accesses precisely a single
field of the original operation's !tbaa.struct, use the !tbaa tag for
the accessed field directly instead of the full !tbaa.struct.
InstCombine already had a similar logic.
Motivation for this and follow-on patches is to improve codegen for
libc++, where using memcpy limits optimizations, like vectorization for
code iteration over std::vector<std::complex<float>>:
https://godbolt.org/z/f3vqYos3c
Depends on https://github.com/llvm/llvm-project/pull/81285.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions
