[PATCH] D38503: [CodeGen] Unify generation of scalar and struct-path TBAA tags

2017-10-05 Thread Ivan A. Kosarev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL314977: [CodeGen] Unify generation of scalar and struct-path TBAA tags (authored by kosarev). Changed prior to commit: https://reviews.llvm.org/D38503?vs=117519&id=117791#toc Repository: rL LLVM htt

[PATCH] D38503: [CodeGen] Unify generation of scalar and struct-path TBAA tags

2017-10-04 Thread John McCall via Phabricator via cfe-commits
rjmccall accepted this revision. rjmccall added a comment. This revision is now accepted and ready to land. LGTM with one comment fix that I noticed. Comment at: lib/CodeGen/CodeGenModule.h:659 - llvm::MDNode *getTBAAInfoForVTablePtr(); + /// getTBAAAccessInfo - Get TBAA in

[PATCH] D38503: [CodeGen] Unify generation of scalar and struct-path TBAA tags

2017-10-03 Thread Ivan A. Kosarev via Phabricator via cfe-commits
kosarev added a comment. Just in case, please let me know if you think this change should further be broken down into smaller pieces. Thanks. Repository: rL LLVM https://reviews.llvm.org/D38503 ___ cfe-commits mailing list cfe-commits@lists.llvm

[PATCH] D38503: [CodeGen] Unify generation of scalar and struct-path TBAA tags

2017-10-03 Thread Ivan A. Kosarev via Phabricator via cfe-commits
kosarev created this revision. kosarev added a project: clang. This patch makes it possible to produce access tags in a uniform manner regardless whether the resulting tag will be a scalar or a struct-path one. getAccessTagInfo() now takes care of the actual translation of access descriptors to