[all-commits] [llvm/llvm-project] 1d9539: [Coroutine] Add statistics for the number of elide...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Jun 29 20:22:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d9539cf49a585e7c3cd8faa1b8e7291e0ce285c
      https://github.com/llvm/llvm-project/commit/1d9539cf49a585e7c3cd8faa1b8e7291e0ce285c
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroElide.cpp
    M llvm/test/Transforms/Coroutines/coro-elide.ll

  Log Message:
  -----------
  [Coroutine] Add statistics for the number of elided coroutine

Now we lack a benchmark to measure the performance change for each
commit.
Since coro elide is the main optimization in coroutine module, I wonder
it may be an estimation to count the number of elided coroutine in
private code bases.
e.g., for a certain commit, if we found that the number of elided goes
down, we could find it before the commit check-in.

Reviewed By: lxfind

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




More information about the All-commits mailing list