[all-commits] [llvm/llvm-project] f15a85: [llvm-profgen] Truncate the context with zero prob...

ictwanglei via All-commits all-commits at lists.llvm.org
Tue Nov 30 16:30:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f15a8545672a643f2a3e0a9ad7d1958470ee488d
      https://github.com/llvm/llvm-project/commit/f15a8545672a643f2a3e0a9ad7d1958470ee488d
  Author: wlei <wlei at fb.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.h

  Log Message:
  -----------
  [llvm-profgen] Truncate the context with zero probe ID

Due to the debug info merging, there may have some contexts with zero probe id, we should truncate the context to avoid misleading pre-inliner.

Reviewed By: hoy, wenlei

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




More information about the All-commits mailing list