diff options
author | Florian Hahn <flo@fhahn.com> | 2024-02-16 09:49:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 09:49:21 +0000 |
commit | 3b6e25048f188692c27e7788f4e4453a3963306d (patch) | |
tree | 261f87a81a37258677bd6d4336693f5433206695 /llvm/docs/CommandGuide | |
parent | 92ef40874d58d4fca4b7657c31ab2538e1301f26 (diff) | |
download | llvm-3b6e25048f188692c27e7788f4e4453a3963306d.zip llvm-3b6e25048f188692c27e7788f4e4453a3963306d.tar.gz llvm-3b6e25048f188692c27e7788f4e4453a3963306d.tar.bz2 |
[TBAA] Only clear TBAAStruct if field can be extracted. (#81285)
Retain TBAAStruct if we fail to match the access to a single field. All
users at the moment use this when using the full size of the original
access. SROA also retains the original TBAAStruct when accessing parts
at offset 0.
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/81284
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions