]> granicus.if.org Git - clang/commit
[CodeGen] Refine generation of TBAA info for bit-field lvalues
authorIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 17 Oct 2017 11:20:19 +0000 (11:20 +0000)
committerIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 17 Oct 2017 11:20:19 +0000 (11:20 +0000)
commite10677d71bd8243f4e9e3358c7831646644c3860
tree561771c08fab4dd4cab5cfa04eb9823d7e11f76b
parentcd196ce936ce8e90bc5357551c1fe617748d84e0
[CodeGen] Refine generation of TBAA info for bit-field lvalues

The main change is that now we generate TBAA info before
constructing the resulting lvalue instead of constructing lvalue
with some default TBAA info and fixing it as necessary
afterwards. We also keep the TBAA info close to lvalue base info,
which is supposed to simplify their future merging.

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

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