]> granicus.if.org Git - clang/commit
[CodeGen] Do not construct complete LValue base info in trivial cases
authorIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 10 Oct 2017 09:39:32 +0000 (09:39 +0000)
committerIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 10 Oct 2017 09:39:32 +0000 (09:39 +0000)
commitbb7654dfb02e24b1e5ce000738161b20a4fcb41e
treecceb8048c25f17f1b9f46b2bdf55f5285846d3e1
parenta8e3ebd8b6d79865a87990928f7b5b63679d1d36
[CodeGen] Do not construct complete LValue base info in trivial cases

Besides obvious code simplification, avoiding explicit creation
of LValueBaseInfo objects makes it easier to make TBAA
information to be part of such objects.

This is part of D38126 reworked to be a separate patch to
simplify review.

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

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