]> granicus.if.org Git - clang/commit
[CodeGen] Propagate may-alias'ness of lvalues with TBAA info
authorIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 31 Oct 2017 11:05:34 +0000 (11:05 +0000)
committerIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 31 Oct 2017 11:05:34 +0000 (11:05 +0000)
commit210431c8134fdeff30834467022ce8c306a4c1dd
tree6c29a4446d88a50a6faf41f6ea008a5b921e877f
parented8a16203bd96d50875a9ce3dff6ada8daa50cff
[CodeGen] Propagate may-alias'ness of lvalues with TBAA info

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 D38126 reworked to be a separate patch to
simplify review.

Differential Revision: https://reviews.llvm.org/D39008

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316988 91177308-0d34-0410-b5e6-96231b3b80d8
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