[all-commits] [llvm/llvm-project] 42da84: [BOLT] Always match stale entry blocks

spupyrev via All-commits all-commits at lists.llvm.org
Fri Sep 8 15:46:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42da84fda979584ee48a14cc07b723c0362a300f
      https://github.com/llvm/llvm-project/commit/42da84fda979584ee48a14cc07b723c0362a300f
  Author: spupyrev <spupyrev at fb.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M bolt/lib/Core/HashUtilities.cpp
    M bolt/lib/Profile/StaleProfileMatching.cpp

  Log Message:
  -----------
  [BOLT] Always match stale entry blocks

Two (minor) improvements for stale matching:
- always match entry blocks to each other, even if there is a hash mismatch;
- ignore nops in (loose) hash computation.

I record a small improvement in inference quality on my benchmarks. Tests are not affected

Reviewed By: Amir

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




More information about the All-commits mailing list