[PATCH] D39008: [CodeGen] Propagate may-alias'ness of lvalues with TBAA info

Ivan Kosarev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 09:27:56 PDT 2017


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

This patch fixes various places in clang to propagate may-alias TBAA access descriptors during construction of lvalues, thus eliminating the need for the LValueBaseInfo::MayAlias flag.

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/D39008

Files:
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGObjCRuntime.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGValue.h
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  lib/CodeGen/CodeGenTBAA.cpp
  lib/CodeGen/CodeGenTBAA.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39008.119343.patch
Type: text/x-patch
Size: 24540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171017/c4a158e2/attachment-0001.bin>


More information about the cfe-commits mailing list