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.
Paths
| Differential D38695
[CodeGen] Do not construct complete LValue base info in trivial cases ClosedPublic Authored by kosarev on Oct 9 2017, 11:11 AM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 9 2017, 11:54 PM Closed by commit rL315289: [CodeGen] Do not construct complete LValue base info in trivial cases (authored by kosarev). · Explain WhyOct 10 2017, 2:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 118335 cfe/trunk/lib/CodeGen/CGBlocks.cpp
cfe/trunk/lib/CodeGen/CGExpr.cpp
cfe/trunk/lib/CodeGen/CGObjC.cpp
cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp
cfe/trunk/lib/CodeGen/CodeGenFunction.h
|