[all-commits] [llvm/llvm-project] 6b05a6: [BOLT] Check no-LBR samples in mayHaveProfileData

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jan 3 14:43:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b05a62a6b10bcdfc777dee4761f273a5c883cba
      https://github.com/llvm/llvm-project/commit/6b05a62a6b10bcdfc777dee4761f273a5c883cba
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Profile/DataReader.cpp
    A bolt/test/X86/nolbr.s
    M bolt/test/link_fdata.py

  Log Message:
  -----------
  [BOLT] Check no-LBR samples in mayHaveProfileData

No-LBR mode wasn't tested and slipped when mayHaveProfileData was added for
Lite mode. This enables processing of profiles collected without LBR and
converted with `perf2bolt -nl` option.

Test Plan:
bin/llvm-lit -a tools/bolt/test/X86/nolbr.s
https://github.com/rafaelauler/bolt-tests/pull/20

Reviewed By: #bolt, rafauler

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




More information about the All-commits mailing list