[all-commits] [llvm/llvm-project] 7615c0: [StableHash] Implement with xxh3_64bits (#105849)

Kyungwoo Lee via All-commits all-commits at lists.llvm.org
Fri Aug 23 21:54:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7615c0b2eb52b8c5d8e6dfc7f265a87a7a9f3ef5
      https://github.com/llvm/llvm-project/commit/7615c0b2eb52b8c5d8e6dfc7f265a87a7a9f3ef5
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-08-23 (Fri, 23 Aug 2024)

  Changed paths:
    M llvm/include/llvm/ADT/StableHashing.h
    M llvm/lib/CodeGen/MachineOperand.cpp
    M llvm/lib/CodeGen/MachineStableHash.cpp

  Log Message:
  -----------
  [StableHash] Implement with xxh3_64bits (#105849)

This is a follow-up to address a suggestion from
https://github.com/llvm/llvm-project/pull/105619.
The main goal of this change is to efficiently implement stable hash
functions using the xxh3 64bits API.
`stable_hash_combine_range` and `stable_hash_combine_array` functions
are removed and consolidated into a more general `stable_hash_combine`
function that takes an `ArrayRef<stable_hash>` as input.



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