[all-commits] [llvm/llvm-project] 1941c5: Reland (2nd attempt) [StructuralHash] Refactor (#1...

Kyungwoo Lee via All-commits all-commits at lists.llvm.org
Sat Oct 26 16:13:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1941c5180b91d792200d5e868d45c96e99bda35e
      https://github.com/llvm/llvm-project/commit/1941c5180b91d792200d5e868d45c96e99bda35e
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-10-26 (Sat, 26 Oct 2024)

  Changed paths:
    M llvm/include/llvm/IR/StructuralHash.h
    M llvm/lib/IR/StructuralHash.cpp
    M llvm/lib/Transforms/IPO/MergeFunctions.cpp
    M llvm/test/Transforms/MergeFunc/call-and-invoke-with-ranges-attr.ll
    M llvm/test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll
    M llvm/test/Transforms/MergeFunc/inline-asm.ll

  Log Message:
  -----------
  Reland (2nd attempt) [StructuralHash] Refactor (#112621)

This is largely NFC, and it prepares for #112638.
 - Use stable_hash instead of uint64_t
 - Rename update* to hash* functions. They compute stable_hash locally and return it.

This is a patch for
https://discourse.llvm.org/t/rfc-global-function-merging/82608.



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