[PATCH] D20314: Move ProfileSummary to IR

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 16:14:32 PDT 2016


silvas added inline comments.

================
Comment at: lib/ProfileData/ProfileSummaryBuilder.cpp:28
@@ +27,3 @@
+// (which is 1000000) is a desired percentile of total counts.
+const std::vector<uint32_t> ProfileSummaryBuilder::DefaultCutoffs(
+    {10000,  /*  1% */
----------------
Nit: in a separate patch it would be nice to make this a constant array to avoid the static constructor.


http://reviews.llvm.org/D20314





More information about the llvm-commits mailing list