[llvm] [BOLT][NFCI] Centralize DataReader::setEntryCounts (PR #196411)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 14:05:11 PDT 2026


================
@@ -1168,16 +1183,6 @@ std::error_code DataReader::parse() {
       I = GetOrCreateFuncEntry(BI.To.Name);
       I->second.EntryData.emplace_back(std::move(BI));
     }
-
-    // If destination is the function start - update execution count.
-    // NB: the data is skewed since we cannot tell tail recursion from
-    //     branches to the function start.
----------------
aaupov wrote:

Sure, let's make it explicit.

https://github.com/llvm/llvm-project/pull/196411


More information about the llvm-commits mailing list