[all-commits] [llvm/llvm-project] 444d2e: [CSSPGO] Enable stale profile matching by default ...

ictwanglei via All-commits all-commits at lists.llvm.org
Thu Jun 29 11:19:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 444d2e1a54058cfa21d12ac369404a2923f7b932
      https://github.com/llvm/llvm-project/commit/444d2e1a54058cfa21d12ac369404a2923f7b932
  Author: wlei <wlei at fb.com>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

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

  Log Message:
  -----------
  [CSSPGO] Enable stale profile matching by default for CSSPGO

We tested the stale profile matching on several Meta's internal services, all results are positive, for instance, in one service that refreshed its profile every one or two weeks, it consistently gave 1~2% performance improvement. We also observed an instance that a trivial refactoring caused a 2% regression and the matching can successfully recover the whole regression. Therefore, we'd like to turn it on by default for CSSPGO.

Reviewed By: hoy, wenlei

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




More information about the All-commits mailing list