]> granicus.if.org Git - clang/commit
[CodeGen] Generate TBAA info along with LValue base info
authorIvan A. Kosarev <ikosarev@accesssoftek.com>
Thu, 12 Oct 2017 11:29:46 +0000 (11:29 +0000)
committerIvan A. Kosarev <ikosarev@accesssoftek.com>
Thu, 12 Oct 2017 11:29:46 +0000 (11:29 +0000)
commit4f7fc2550d0c5fc3e80ccb3cd99c25c555770654
tree2159279dbc6e103e41966977f793700194bd6e4a
parent9047763be73c6c687a868e265a439e77e2d0ca57
[CodeGen] Generate TBAA info along with LValue base info

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

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315575 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h