[PATCH] D43360: [Bitcode] Add UnnamedAddr attributes to GlobalValueSummary

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


steven_wu created this revision.
steven_wu added reviewers: tejohnson, mehdi_amini, pcc, rafael.

This is the initial patch to support optimizing unnamed_addr
GlobalValues in thinLTO. Adding UnnamedAddr attributes to
GlobalValueSummary and implement the reader/writer for it.


Repository:
  rL LLVM

https://reviews.llvm.org/D43360

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
  test/Transforms/LowerTypeTests/import-unsat.ll
  test/Transforms/WholeProgramDevirt/import-indir.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43360.134520.patch
Type: text/x-patch
Size: 7988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/c0b8ee8e/attachment.bin>


More information about the llvm-commits mailing list