[PATCH] D35702: [LTO][ThinLTO] Use the linker resolutions to mark global values as dso_local.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 19:58:51 PDT 2017


sfertile updated this revision to Diff 121430.
sfertile added a comment.

Changed the importing to check that every summary is local before marking a GlobalValue as local.


Repository:
  rL LLVM

https://reviews.llvm.org/D35702

Files:
  include/llvm/IR/ModuleSummaryIndex.h
  include/llvm/IR/ModuleSummaryIndexYAML.h
  lib/Analysis/ModuleSummaryAnalysis.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/LTO/LTO.cpp
  lib/Transforms/Utils/FunctionImportUtils.cpp
  test/Bitcode/thinlto-summary-local-5.0.ll
  test/Bitcode/thinlto-summary-local-5.0.ll.bc
  test/LTO/Resolution/X86/comdat-mixed-lto.ll
  test/LTO/Resolution/X86/comdat.ll
  test/LTO/Resolution/X86/commons.ll
  test/ThinLTO/X86/deadstrip.ll
  test/ThinLTO/X86/funcimport2.ll
  test/ThinLTO/X86/internalize.ll
  test/ThinLTO/X86/reference_non_importable.ll
  test/Transforms/LowerTypeTests/import-unsat.ll
  test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll
  test/Transforms/WholeProgramDevirt/import-indir.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35702.121430.patch
Type: text/x-patch
Size: 19797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171103/372c9642/attachment.bin>


More information about the llvm-commits mailing list