[PATCH] D31027: [ThinLTO] Add support for emitting minimized bitcode for thin link

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 07:30:19 PDT 2017


tejohnson updated this revision to Diff 92487.
tejohnson added a comment.

Addressed review comments and added test for unsplittable case. Did not
remove llvm-lto/llvm-lto2 handling of suffix replacement since I wanted to
be able to simulate the handling that we need for the thin link (see my
response and question to your review comment).


https://reviews.llvm.org/D31027

Files:
  include/llvm/Bitcode/BitcodeWriter.h
  include/llvm/Object/ModuleSummaryIndexObjectFile.h
  include/llvm/Transforms/IPO.h
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/Object/ModuleSummaryIndexObjectFile.cpp
  lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  test/ThinLTO/X86/distributed_import.ll
  test/Transforms/ThinLTOBitcodeWriter/no-type-md.ll
  test/Transforms/ThinLTOBitcodeWriter/split.ll
  test/Transforms/ThinLTOBitcodeWriter/unsplittable.ll
  test/tools/gold/X86/thinlto_object_suffix_replace.ll
  tools/gold/gold-plugin.cpp
  tools/llvm-lto/llvm-lto.cpp
  tools/llvm-lto2/llvm-lto2.cpp
  tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31027.92487.patch
Type: text/x-patch
Size: 39264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170321/50d47085/attachment-0001.bin>


More information about the llvm-commits mailing list