[PATCH] D99790: [CGCall] Annotate `this` argument with alignment
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 2 01:44:42 PDT 2021
lebedev.ri created this revision.
lebedev.ri added reviewers: efriedma, rjmccall, rsmith, erichkeane, nikic.
lebedev.ri added a project: LLVM.
Herald added a subscriber: lxfind.
lebedev.ri requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
As it is being noted in D99249 <https://reviews.llvm.org/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`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99790
Files:
clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGen/attr-nomerge.cpp
clang/test/CodeGenCXX/this-nonnull.cpp
clang/test/CodeGenCoroutines/coro-symmetric-transfer-01.cpp
clang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm
clang/test/OpenMP/irbuilder_for_iterator.cpp
clang/test/OpenMP/irbuilder_for_rangefor.cpp
clang/test/utils/update_cc_test_checks/Inputs/basic-cplusplus.cpp.expected
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99790.334920.patch
Type: text/x-patch
Size: 29205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210402/349b10ea/attachment-0001.bin>
More information about the cfe-commits
mailing list