[all-commits] [llvm/llvm-project] c53843: [ADT, CodeGen] Remove stable_hash_combine_string
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Jul 28 10:14:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c53843415ebba4d7c295bcd31bb325bfd08570a6
https://github.com/llvm/llvm-project/commit/c53843415ebba4d7c295bcd31bb325bfd08570a6
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/include/llvm/ADT/StableHashing.h
M llvm/lib/CodeGen/MachineStableHash.cpp
Log Message:
-----------
[ADT,CodeGen] Remove stable_hash_combine_string
FNV, used by stable_hash_combine_string is extremely slow. For string
hashing with good avalanche effects, we prefer xxh3_64bits.
StableHashing.h might still be useful as it provides a stable
hash_combine while Hashing.h's might be non-deterministic (#96282).
Pull Request: https://github.com/llvm/llvm-project/pull/100668
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list