[all-commits] [llvm/llvm-project] b667d1: [StructuralHash] Refactor (#112621)

Kyungwoo Lee via All-commits all-commits at lists.llvm.org
Sat Oct 26 09:20:47 PDT 2024


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

  Log Message:
  -----------
  [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