[all-commits] [llvm/llvm-project] c000b8: [CSSPGO] Use preinliner decision by default when a...

WenleiHe via All-commits all-commits at lists.llvm.org
Wed Sep 1 23:56:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c000b8bd5c1ba981b61d7ec19bd3b02277ce03ec
      https://github.com/llvm/llvm-project/commit/c000b8bd5c1ba981b61d7ec19bd3b02277ce03ec
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/test/Transforms/SampleProfile/csspgo-use-preinliner.ll

  Log Message:
  -----------
  [CSSPGO] Use preinliner decision by default when available

For CSSPGO, turn on `sample-profile-use-preinliner` by default. This simplifies the use of llvm-profgen preinliner as it's now simply driven by ContextShouldBeInlined flag for each context profile without needing extra compiler switch.

Note that llvm-profgen's preinliner is still off by default, under switch `csspgo-preinliner`.

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




More information about the All-commits mailing list