[PATCH] D43361: [ThinLTO] Enable AutoHide on symbols with local_unnamed_addr

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 15:28:37 PST 2018


steven_wu created this revision.
steven_wu added reviewers: tejohnson, mehdi_amini, pcc, rafael.
Herald added subscribers: eraman, inglorion.
steven_wu added a dependency: D43360: [Bitcode] Add UnnamedAddr attributes to GlobalValueSummary.

Teach thinLTO to analyze and auto hide local_unnamed_addr symbols if
possible.


Repository:
  rL LLVM

https://reviews.llvm.org/D43361

Files:
  include/llvm/IR/ModuleSummaryIndex.h
  include/llvm/LTO/LTO.h
  include/llvm/LTO/LTOBackend.h
  include/llvm/Transforms/IPO/FunctionImport.h
  lib/Analysis/ModuleSummaryAnalysis.cpp
  lib/IR/ModuleSummaryIndex.cpp
  lib/LTO/LTO.cpp
  lib/LTO/LTOBackend.cpp
  lib/LTO/ThinLTOCodeGenerator.cpp
  lib/Transforms/IPO/FunctionImport.cpp
  test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll
  test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43361.134521.patch
Type: text/x-patch
Size: 20182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/9c399b1e/attachment.bin>


More information about the llvm-commits mailing list