[llvm] r329959 - [ProfileSummary] Remove repeated cutoffs; NFCI
George Burgess IV via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 12 14:38:43 PDT 2018
Author: gbiv
Date: Thu Apr 12 14:38:43 2018
New Revision: 329959
URL: http://llvm.org/viewvc/llvm-project?rev=329959&view=rev
Log:
[ProfileSummary] Remove repeated cutoffs; NFCI
I'm told the repeat of "500000, 600000," is accidental, and should be
removed.
Modified:
llvm/trunk/lib/ProfileData/ProfileSummaryBuilder.cpp
Modified: llvm/trunk/lib/ProfileData/ProfileSummaryBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ProfileData/ProfileSummaryBuilder.cpp?rev=329959&r1=329958&r2=329959&view=diff
==============================================================================
--- llvm/trunk/lib/ProfileData/ProfileSummaryBuilder.cpp (original)
+++ llvm/trunk/lib/ProfileData/ProfileSummaryBuilder.cpp Thu Apr 12 14:38:43 2018
@@ -27,8 +27,8 @@ using namespace llvm;
static const uint32_t DefaultCutoffsData[] = {
10000, /* 1% */
100000, /* 10% */
- 200000, 300000, 400000, 500000, 600000, 500000, 600000, 700000,
- 800000, 900000, 950000, 990000, 999000, 999900, 999990, 999999};
+ 200000, 300000, 400000, 500000, 600000, 700000, 800000,
+ 900000, 950000, 990000, 999000, 999900, 999990, 999999};
const ArrayRef<uint32_t> ProfileSummaryBuilder::DefaultCutoffs =
DefaultCutoffsData;
More information about the llvm-commits
mailing list