diff --git a/llvm/include/llvm/ADT/ConcurrentHashtable.h b/llvm/include/llvm/ADT/ConcurrentHashtable.h --- a/llvm/include/llvm/ADT/ConcurrentHashtable.h +++ b/llvm/include/llvm/ADT/ConcurrentHashtable.h @@ -77,7 +77,7 @@ public: /// \returns Hash value for the specified \p Key. static inline uint64_t getHashValue(const KeyTy &Key) { - return xxHash64(Key); + return xxh3_64bits(Key); } /// \returns true if both \p LHS and \p RHS are equal. diff --git a/llvm/include/llvm/DWARFLinkerParallel/StringPool.h b/llvm/include/llvm/DWARFLinkerParallel/StringPool.h --- a/llvm/include/llvm/DWARFLinkerParallel/StringPool.h +++ b/llvm/include/llvm/DWARFLinkerParallel/StringPool.h @@ -27,7 +27,7 @@ public: /// \returns Hash value for the specified \p Key. static inline uint64_t getHashValue(const StringRef &Key) { - return xxHash64(Key); + return xxh3_64bits(Key); } /// \returns true if both \p LHS and \p RHS are equal.