[PATCH] D27875: IR: Eliminate non-determinism in the module summary analysis.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 20:18:22 PST 2016


pcc created this revision.
pcc added reviewers: tejohnson, mehdi_amini.
pcc added a subscriber: llvm-commits.

Also make the summary ref and call graph vectors immutable. This means
a smaller API surface and fewer places to audit for non-determinism.


https://reviews.llvm.org/D27875

Files:
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27875.81833.patch
Type: text/x-patch
Size: 26166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161217/ad68336c/attachment.bin>


More information about the llvm-commits mailing list