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 118234 lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
|