[PATCH] D34156: [LTO] Add -femit-summary-index flag to emit summary for regular LTO

Tobias Edler von Koch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 14 11:45:28 PDT 2017


tobiasvk updated this revision to Diff 102585.
tobiasvk added a comment.

- Change patch to always emit a module summary for regular LTO

I don't see any real downside of having a summary given the marginal time and
space overhead it takes to construct and save it.


https://reviews.llvm.org/D34156

Files:
  clang/include/clang/Frontend/CodeGenOptions.def
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/emit-summary-index.c
  clang/test/Misc/thinlto.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34156.102585.patch
Type: text/x-patch
Size: 5977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170614/1f8aabb8/attachment.bin>


More information about the cfe-commits mailing list