[PATCH] D42612: [GlobalOpt] Improve common case efficiency of static global initializer evaluation
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 26 21:06:51 PST 2018
aprantl added inline comments.
================
Comment at: lib/Transforms/IPO/GlobalOpt.cpp:2257
+static void BatchCommitValueTo(const DenseMap<Constant*, Constant*> &Mem) {
+ SmallVector<std::pair<GlobalVariable*, Constant*>, 32> GVs;
----------------
Could you please add a Doxygen comment explaining what this function does?
Repository:
rL LLVM
https://reviews.llvm.org/D42612
More information about the llvm-commits
mailing list