[llvm-branch-commits] [NFC][CodeGen] Rename hash functions in MachineBlockHashInfo for consistency (PR #192863)

Thurston Dang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 20 17:52:31 PDT 2026


================
@@ -21,7 +21,7 @@
 using namespace llvm;
 
 // Forked from `hashing::detail::hash_16_bytes` to provide stability.
-static constexpr uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
+static constexpr uint64_t hash16Bytes(uint64_t low, uint64_t high) {
----------------
thurstond wrote:

The rename makes it inconsistent with the function it was forked from. Is this tradeoff worth being locally consistent within this file?

https://github.com/llvm/llvm-project/pull/192863


More information about the llvm-branch-commits mailing list