[llvm-branch-commits] [llvm] [BOLT][BAT] Support multi-way split functions (PR #87123)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 5 16:21:49 PDT 2024


https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/87123

>From d575235e6d61ea73757ec313a26b8b2aedc2c13d Mon Sep 17 00:00:00 2001
From: Amir Ayupov <aaupov at fb.com>
Date: Fri, 29 Mar 2024 20:14:11 -0700
Subject: [PATCH] Address comment

Created using spr 1.3.4
---
 bolt/lib/Profile/BoltAddressTranslation.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bolt/lib/Profile/BoltAddressTranslation.cpp b/bolt/lib/Profile/BoltAddressTranslation.cpp
index 2c00bf6291eb9c..279490170ed446 100644
--- a/bolt/lib/Profile/BoltAddressTranslation.cpp
+++ b/bolt/lib/Profile/BoltAddressTranslation.cpp
@@ -197,7 +197,6 @@ void BoltAddressTranslation::writeMaps(std::map<uint64_t, MapTy> &Maps,
             ? SecondaryEntryPointsMap[Address].size()
             : 0;
     if (Cold) {
-      // `Maps` is keyed by output addresses.
       auto HotEntryIt = Maps.find(ColdPartSource[Address]);
       assert(HotEntryIt != Maps.end());
       size_t HotIndex = std::distance(Maps.begin(), HotEntryIt);



More information about the llvm-branch-commits mailing list