[all-commits] [llvm/llvm-project] a952d7: [SampleFDO] Skip PreLink ICP for better profile qu...

WenleiHe via All-commits all-commits at lists.llvm.org
Fri Feb 19 19:38:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a952d7291e99aded397073f61e091c0f011da779
      https://github.com/llvm/llvm-project/commit/a952d7291e99aded397073f61e091c0f011da779
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [SampleFDO] Skip PreLink ICP for better profile quality of MonoLTO PostLink

For ThinLTO, PreLink ICP is skipped to favor better profile annotation during LTO PostLink. This change applies the same tweak for MonoLTO. Note that PreLink ICP not only makes PostLink profile annotation harder, it is also uncoordinated with PostLink ICP so duplicated ICP could happen.

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




More information about the All-commits mailing list