[all-commits] [llvm/llvm-project] d7b7b6: [CSSPGO] Warn instead of error out for modules tha...

Hongtao Yu via All-commits all-commits at lists.llvm.org
Tue Dec 14 16:39:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7b7b6491445ca8953dfec4fb15f8605ef362a67
      https://github.com/llvm/llvm-project/commit/d7b7b6491445ca8953dfec4fb15f8605ef362a67
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp

  Log Message:
  -----------
  [CSSPGO] Warn instead of error out for modules that are not probed.

Modules that are not compiled with pseudo probe enabled can still be compiled with a sample profile input, such as in LTO postlink where other modules are probed. Since the profile is unrelated to the current modules, we should warn instead of error out the compilation.

Reviewed By: wenlei

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




More information about the All-commits mailing list