[all-commits] [llvm/llvm-project] 98ca9a: Reland [StructuralHash] Refactor (#112621)

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98ca9a635bd2fb98cee473a9558687a5b522e219
      https://github.com/llvm/llvm-project/commit/98ca9a635bd2fb98cee473a9558687a5b522e219
  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 [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