[all-commits] [llvm/llvm-project] 3e3a92: [BOLT][NFC] Add hash computation for basic blocks

spupyrev via All-commits all-commits at lists.llvm.org
Tue May 2 14:04:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e3a926be8a9787d2786e3e3ca879fac0656a824
      https://github.com/llvm/llvm-project/commit/3e3a926be8a9787d2786e3e3ca879fac0656a824
  Author: spupyrev <spupyrev at fb.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryBasicBlock.h
    M bolt/include/bolt/Core/BinaryFunction.h
    A bolt/include/bolt/Core/HashUtilities.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/include/bolt/Profile/ProfileYAMLMapping.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Core/CMakeLists.txt
    A bolt/lib/Core/HashUtilities.cpp
    M bolt/lib/Passes/IdenticalCodeFolding.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][NFC] Add hash computation for basic blocks

Extending yaml profile format with block hashes, which are used for stale
profile matching. To avoid duplication of the code, created a new class with a
collection of utilities for computing hashes.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D144306




More information about the All-commits mailing list