diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-04-26 23:15:10 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-04-26 23:15:10 +0000 |
| commit | 0fcbb2893eca48b9cf661e7ee82e8b94c89228b6 (patch) | |
| tree | 45cee92f4a9f55957a65d3a1155f7284b992c636 /llvm/lib/Support | |
| parent | e5ad2986fc5b70bc11acad820165997e32f0d95b (diff) | |
| download | bcm5719-llvm-0fcbb2893eca48b9cf661e7ee82e8b94c89228b6.tar.gz bcm5719-llvm-0fcbb2893eca48b9cf661e7ee82e8b94c89228b6.zip | |
Revert r301487: Replace HashString algorithm with xxHash64
This reverts commit r301487 to make buildbots green.
llvm-svn: 301491
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/xxhash.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/xxhash.cpp b/llvm/lib/Support/xxhash.cpp index ca3120df4bc..a7d990bf6a4 100644 --- a/llvm/lib/Support/xxhash.cpp +++ b/llvm/lib/Support/xxhash.cpp @@ -68,8 +68,9 @@ static uint64_t mergeRound(uint64_t Acc, uint64_t Val) { return Acc; } -uint64_t llvm::xxHash64(StringRef Data, uint64_t Seed) { +uint64_t llvm::xxHash64(StringRef Data) { size_t Len = Data.size(); + uint64_t Seed = 0; const char *P = Data.data(); const char *const BEnd = P + Len; uint64_t H64; |

