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

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 12:57:56 PST 2016


mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.

LGTM. Thanks.



================
Comment at: llvm/lib/Analysis/ModuleSummaryAnalysis.cpp:176
+  auto GVarSummary =
+      llvm::make_unique<GlobalVarSummary>(Flags, RefEdges.getArrayRef());
   Index.addGlobalValueSummary(V.getName(), std::move(GVarSummary));
----------------
`takeVector()`?


https://reviews.llvm.org/D27875





More information about the llvm-commits mailing list