[all-commits] [llvm/llvm-project] d84440: Use the default seed value for djb hash for StringMap
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Mon Mar 1 04:21:53 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d84440ec919019ac446241db72cfd905c6ac9dfa
https://github.com/llvm/llvm-project/commit/d84440ec919019ac446241db72cfd905c6ac9dfa
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2021-03-01 (Mon, 01 Mar 2021)
Changed paths:
M llvm/lib/Support/StringMap.cpp
M llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll
M llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll
M llvm/test/DebugInfo/X86/debug-pubtables-dwarf64.ll
M llvm/test/DebugInfo/X86/gnu-public-names.ll
M llvm/test/tools/llvm-dwarfdump/X86/section_sizes_elf.test
M llvm/test/tools/llvm-dwarfdump/X86/section_sizes_macho.test
M llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
Log Message:
-----------
Use the default seed value for djb hash for StringMap
See original comment in 560ce2c70fb1fe8e4b9b5e39c54e494a50373ba8
Baiscally the default seed value results in less collision, but changes the
iteration order, which matters for a few test cases.
Differential Revision: https://reviews.llvm.org/D97396
More information about the All-commits
mailing list