[PATCH] D36288: Use profile summary to disable peeling for huge working sets

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 14:50:25 PDT 2017


eraman added inline comments.


================
Comment at: lib/Analysis/ProfileSummaryInfo.cpp:69
+// Find the number of counts to reach a desired percentile of counts.
+static uint64_t getNumCountsForPercentile(SummaryEntryVector &DS,
+                                          uint64_t Percentile) {
----------------
The getMinCountForPercentile and getNumCountsForPercentile could be merged to a getEntryForPercentile


https://reviews.llvm.org/D36288





More information about the llvm-commits mailing list