Skip to content

Commit 35e426f

Browse files
committed
NFC: fix comment
1 parent 3e93a21 commit 35e426f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/SILOptimizer/Analysis/ColdBlockInfo.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ static std::optional<bool> getExpectedValue(SILValue Cond) {
209209
/// The minimum probability that an edge is taken to be considered "warm".
210210
constexpr double WARM_EDGE_MINIMUM = 3.0 / 100.0;
211211

212-
// Using the profile data on the terminator of this block, annotate successors
213-
// with cold/warm information.
214-
//
215-
// \returns true if an inference was made
212+
/// Using the profile data on the terminator of this block, annotate successors
213+
/// with cold/warm information.
214+
///
215+
/// \returns true if an inference was made
216216
bool ColdBlockInfo::inferFromEdgeProfile(SILBasicBlock *BB) {
217217
ProfileCounter totalCount{0};
218218
SmallVector<ProfileCounter, 2> succCount;

0 commit comments

Comments
 (0)