[rebranch] Do not serialize unstable hashes

https://github.com/llvm/llvm-project/pull/96282 changed
`get_execution_seed` to be non-deterministic. Use stable hashes instead.
This commit is contained in:
Ben Barham
2024-07-31 20:17:06 -07:00
parent 0a6e5874e2
commit cfbc007535
6 changed files with 10 additions and 10 deletions

View File

@@ -318,7 +318,7 @@ public:
}
hash_value_type ComputeHash(internal_key_type key) {
return llvm::hash_value(key);
return key;
}
static bool EqualKey(internal_key_type lhs, internal_key_type rhs) {
@@ -557,7 +557,7 @@ public:
internal_key_type GetInternalKey(external_key_type ID) { return ID; }
hash_value_type ComputeHash(internal_key_type key) {
return llvm::hash_value(key);
return key;
}
static bool EqualKey(internal_key_type lhs, internal_key_type rhs) {