[all-commits] [llvm/llvm-project] 6225d7: [StructuralHash] Support Differences

Kyungwoo Lee via All-commits all-commits at lists.llvm.org
Wed Oct 16 17:18:08 PDT 2024


  Branch: refs/heads/users/kyulee-com/strhash
  Home:   https://github.com/llvm/llvm-project
  Commit: 6225d74229d41068c57109a24b063f6fcba13985
      https://github.com/llvm/llvm-project/commit/6225d74229d41068c57109a24b063f6fcba13985
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M llvm/include/llvm/IR/StructuralHash.h
    M llvm/lib/IR/StructuralHash.cpp
    M llvm/unittests/IR/StructuralHashTest.cpp

  Log Message:
  -----------
  [StructuralHash] Support Differences

This comutes a structural hash while allowing for selective ignoring of
certain operands based on a custom function that is provided.
Instead of a single hash value, it now returns FunctionHashInfo which
includes a hash value, an instruction mapping, and a map to track the
operand location and its corresponding hash value that is ignored.



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