Skip to content

Commit 4f9aee7

Browse files
committed
Improve comment for Propeller data.
1 parent a5e3564 commit 4f9aee7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/Object/ELFTypes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ struct PGOAnalysisMap {
10171017
uint32_t ID;
10181018
/// Branch Probability of the edge to this successor taken from MBPI.
10191019
BranchProbability Prob;
1020-
/// Edge frequency from Propeller.
1020+
/// Raw edge count from Propeller.
10211021
uint32_t PropellerFreq;
10221022

10231023
bool operator==(const SuccessorEntry &Other) const {
@@ -1028,8 +1028,8 @@ struct PGOAnalysisMap {
10281028

10291029
/// Block frequency taken from MBFI
10301030
BlockFrequency BlockFreq;
1031-
/// Block frequency taken from Propeller.
1032-
uint32_t PropellerBlockFreq;
1031+
/// Raw block count taken from Propeller.
1032+
uint32_t PropellerBlockFreq = 0;
10331033
/// List of successors of the current block
10341034
llvm::SmallVector<SuccessorEntry, 2> Successors;
10351035

0 commit comments

Comments
 (0)