[PATCH] D23488: ThinLTO: add early "dead-stripping" on the Index

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 20:08:28 PST 2016


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

Added flag to the summary to enable flagging llvm.* values as live,
and add those to the live worklist when doing index-based dead value
analysis.  With this change all SPEC cpu2006 C/C++ benchmarks pass.


https://reviews.llvm.org/D23488

Files:
  include/llvm/IR/ModuleSummaryIndex.h
  include/llvm/LTO/LTO.h
  include/llvm/Transforms/IPO/FunctionImport.h
  lib/Analysis/ModuleSummaryAnalysis.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/LTO/LTO.cpp
  lib/LTO/ThinLTOCodeGenerator.cpp
  lib/Transforms/IPO/FunctionImport.cpp
  test/ThinLTO/X86/Inputs/deadstrip.ll
  test/ThinLTO/X86/deadstrip.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23488.82304.patch
Type: text/x-patch
Size: 25592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161222/c728dd68/attachment.bin>


More information about the llvm-commits mailing list