[PATCH] D38695: [CodeGen] Do not construct complete LValue base info in trivial cases

Ivan A. Kosarev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 9 11:11:40 PDT 2017


kosarev created this revision.
kosarev added a project: clang.

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 https://reviews.llvm.org/D38126 reworked to be a separate patch to simplify review.


Repository:
  rL LLVM

https://reviews.llvm.org/D38695

Files:
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGObjC.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/CodeGenFunction.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38695.118234.patch
Type: text/x-patch
Size: 20990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171009/88edcbd4/attachment-0001.bin>


More information about the cfe-commits mailing list