[all-commits] [llvm/llvm-project] 131eb3: [BOLT] Match blocks with calls as anchors (#96596)

Shaw Young via All-commits all-commits at lists.llvm.org
Wed Jul 10 15:47:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 131eb30584333b61888735b4fefe53dd25b741e0
      https://github.com/llvm/llvm-project/commit/131eb30584333b61888735b4fefe53dd25b741e0
  Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Core/HashUtilities.h
    M bolt/include/bolt/Profile/YAMLProfileReader.h
    M bolt/include/bolt/Utils/NameResolver.h
    M bolt/lib/Core/HashUtilities.cpp
    M bolt/lib/Profile/StaleProfileMatching.cpp
    M bolt/lib/Profile/YAMLProfileReader.cpp
    A bolt/test/X86/match-functions-with-calls-as-anchors.test

  Log Message:
  -----------
  [BOLT] Match blocks with calls as anchors (#96596)

Added another hash level – call hash – following opcode hash matching
for stale block matching. Call hash strings are the concatenation of the
lexicographically ordered names of each blocks’ called functions. This 
change bolsters block matching in cases where some instructions have
been removed or added but calls remain constant.

Test Plan: added match-functions-with-calls-as-anchors.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