diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-04-07 10:29:18 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-04-07 11:02:01 +0300 |
commit | 0aa0458f1429372038ca6a4edc7e94c96cd9a753 (patch) | |
tree | cd66574e82ec00b689c5b63f97fa17ae5152c006 /clang/lib/Basic/SourceManager.cpp | |
parent | 033c9c25520c4aa2825e3e162f88f48e189794db (diff) | |
download | llvm-0aa0458f1429372038ca6a4edc7e94c96cd9a753.zip llvm-0aa0458f1429372038ca6a4edc7e94c96cd9a753.tar.gz llvm-0aa0458f1429372038ca6a4edc7e94c96cd9a753.tar.bz2 |
[CGCall] Annotate `this` argument with alignment
As it is being noted in D99249, lack of alignment information on `this`
has been preventing LICM from happening.
For some time now, lack of alignment attribute does *not* imply
natural alignment, but an alignment of `1`.
Also, we used to treat dereferenceable as implying alignment,
but we no longer do, so it's a bugfix.
Differential Revision: https://reviews.llvm.org/D99790
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions