[PATCH] D74751: [ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker()

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 21 16:34:08 PDT 2020


MaskRay updated this revision to Diff 251862.
MaskRay marked 4 inline comments as done.
MaskRay added a comment.

Address review comments


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74751/new/

https://reviews.llvm.org/D74751

Files:
  llvm/include/llvm/Transforms/IPO/FunctionImport.h
  llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
  llvm/lib/LTO/LTOBackend.cpp
  llvm/lib/LTO/ThinLTOCodeGenerator.cpp
  llvm/lib/Transforms/IPO/FunctionImport.cpp
  llvm/lib/Transforms/Utils/FunctionImportUtils.cpp
  llvm/test/LTO/Resolution/X86/local-def-dllimport.ll
  llvm/test/ThinLTO/X86/funcimport_alwaysinline.ll
  llvm/test/ThinLTO/X86/index-const-prop-alias.ll
  llvm/test/ThinLTO/X86/index-const-prop-comdat.ll
  llvm/test/ThinLTO/X86/index-const-prop-dead.ll
  llvm/test/ThinLTO/X86/index-const-prop-full-lto.ll
  llvm/test/ThinLTO/X86/index-const-prop-gvref-pie.ll
  llvm/test/ThinLTO/X86/index-const-prop-gvref.ll
  llvm/test/ThinLTO/X86/index-const-prop-ldst.ll
  llvm/test/ThinLTO/X86/index-const-prop-linkage.ll
  llvm/test/ThinLTO/X86/index-const-prop2.ll
  llvm/tools/llvm-link/llvm-link.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74751.251862.patch
Type: text/x-patch
Size: 22525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200321/c5db1de9/attachment.bin>


More information about the llvm-commits mailing list