[all-commits] [llvm/llvm-project] e9309b: [BOLT] Report input staleness (#79496)

Amir Ayupov via All-commits all-commits at lists.llvm.org
Thu Jan 25 14:15:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9309b27d7bd50ee98fd7813214ac37716bd6978
      https://github.com/llvm/llvm-project/commit/e9309b27d7bd50ee98fd7813214ac37716bd6978
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/test/X86/reader-stale-yaml.test

  Log Message:
  -----------
  [BOLT] Report input staleness (#79496)

It's beneficial to have uniform reporting in both `infer-stale-profile`
on and off cases, primarily for logging purposes.

Without this change, BOLT would report "input" staleness in
`infer-stale-profile=0` case (without matching), and "output" staleness
in `infer-stale-profile=1` case (after matching).

This change makes BOLT report "input" staleness in both cases. "Output"
staleness information is printed separately with "BOLT-INFO: inferred
profile..."




More information about the All-commits mailing list