[all-commits] [llvm/llvm-project] b039cc: [BOLT] Provide backwards compatibility for YAML pr...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Dec 11 12:27:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b039ccc684e6f71baf6dc961d100673cd1f333ae
      https://github.com/llvm/llvm-project/commit/b039ccc684e6f71baf6dc961d100673cd1f333ae
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Profile/ProfileYAMLMapping.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/IdenticalCodeFolding.cpp
    M bolt/lib/Profile/StaleProfileMatching.cpp
    M bolt/lib/Profile/YAMLProfileReader.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp
    A bolt/test/X86/Inputs/blarge_profile_stale.std-hash.yaml
    M bolt/test/X86/Inputs/blarge_profile_stale.yaml
    A bolt/test/X86/reader-stale-yaml-std.test

  Log Message:
  -----------
  [BOLT] Provide backwards compatibility for YAML profile with std::hash (#74253)

Provide backwards compatibility for YAML profile that uses `std::hash`:
xxh3 hash is the default for newly produced profile (sets `std-hash:
false`),
whereas the profile that doesn't specify `std-hash` will be treated as
`std-hash: true`, preserving old behavior.




More information about the All-commits mailing list