[PATCH] D36233: [ThinLTO] Add FunctionAttrs to ThinLTO index

Charles Saternos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 10:54:06 PDT 2017


ncharlie created this revision.
Herald added subscribers: eraman, inglorion.

Adds function attributes to index: ReadNone, ReadOnly, NoRecurse, NoAlias. This attributes will be used for future ThinLTO optimizations that will propagate function attributes across modules.


https://reviews.llvm.org/D36233

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/Bitcode/thinlto-alias.ll
  test/Bitcode/thinlto-alias2.ll
  test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
  test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
  test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll
  test/Bitcode/thinlto-function-summary-callgraph.ll
  test/Bitcode/thinlto-function-summary-functionattrs.ll
  test/Bitcode/thinlto-function-summary-refgraph.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36233.109380.patch
Type: text/x-patch
Size: 26821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170802/53a721d7/attachment.bin>


More information about the llvm-commits mailing list