[all-commits] [llvm/llvm-project] 042cef: [CSSPGO] Fix a hash code truncating issue in Conte...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Tue Nov 16 11:02:45 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 042cefd2b5c7d6457ffde5a83a0464bc740b2e42
https://github.com/llvm/llvm-project/commit/042cefd2b5c7d6457ffde5a83a0464bc740b2e42
Author: Hongtao Yu <hoy at fb.com>
Date: 2021-11-16 (Tue, 16 Nov 2021)
Changed paths:
M llvm/include/llvm/Transforms/IPO/SampleContextTracker.h
M llvm/lib/Transforms/IPO/SampleContextTracker.cpp
Log Message:
-----------
[CSSPGO] Fix a hash code truncating issue in ContextTrieNode.
std::hash returns a 64bit hash code while previously we were using only lower 32 bits which caused hash collision for large workloads.
Reviewed By: wenlei, wlei
Differential Revision: https://reviews.llvm.org/D113688
More information about the All-commits
mailing list