[PATCH] D38733: [CodeGen] Generate TBAA info along with LValue base info

Ivan A. Kosarev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 07:46:06 PDT 2017


kosarev created this revision.
kosarev added a project: clang.

This patch enables explicit generation of TBAA information in all cases where LValue base info is propagated or constructed in non-trivial ways. Eventually, we will consider each of these cases to make sure the TBAA information is correct and not too conservative. For now, we just fall back to generating TBAA info from the access type.

This patch should not bring in any functional changes.

This is part of https://reviews.llvm.org/D38126 reworked to be a separate patch to simplify review.


Repository:
  rL LLVM

https://reviews.llvm.org/D38733

Files:
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38733.118389.patch
Type: text/x-patch
Size: 18586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171010/2ee55e3d/attachment-0001.bin>


More information about the cfe-commits mailing list