[llvm-branch-commits] [llvm] [BOLT] Fix counts aggregation in merge-fdata (PR #119652)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Dec 14 17:49:06 PST 2024
================
@@ -330,14 +347,14 @@ void mergeLegacyProfiles(const SmallVectorImpl<std::string> &Filenames) {
ProfileTy MergedProfile;
for (const auto &[Thread, Profile] : ParsedProfiles)
for (const auto &[Key, Value] : Profile) {
- uint64_t Count = MergedProfile.lookup(Key) + Value;
+ auto Count = MergedProfile.lookup(Key) + Value;
----------------
aaupov wrote:
The type of `Count` is changed, made explicit in updated version
https://github.com/llvm/llvm-project/pull/119652
More information about the llvm-branch-commits
mailing list