[all-commits] [llvm/llvm-project] 49fdbb: [BOLT] Match functions with exact hash (#96572)

Shaw Young via All-commits all-commits at lists.llvm.org
Sat Jun 29 21:19:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2
      https://github.com/llvm/llvm-project/commit/49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2
  Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M bolt/docs/CommandLineArgumentReference.md
    M bolt/lib/Profile/YAMLProfileReader.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    A bolt/test/X86/hashing-based-function-matching.test
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [BOLT] Match functions with exact hash (#96572)

Added flag '--match-profile-with-function-hash' to match functions 
based on exact hash. After identical and LTO name matching, more 
functions can be recovered for inference with exact hash, in the case
of function renaming with no functional changes. Collisions are 
possible in the unlikely case where multiple functions share the same
exact hash. The flag is off by default as it requires the processing of 
all binary functions and subsequently is expensive.

Test Plan: added hashing-based-function-matching.test.



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