[all-commits] [llvm/llvm-project] 31eb69: [Coroutines] Remove CoroElide from O0 pipeline

Xun Li via All-commits all-commits at lists.llvm.org
Mon Jun 28 19:28:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31eb696fc4cd3b1ed8054d88af54f214c0f92989
      https://github.com/llvm/llvm-project/commit/31eb696fc4cd3b1ed8054d88af54f214c0f92989
  Author: Xun Li <lxfind at gmail.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M clang/test/CodeGenCoroutines/coro-newpm-pipeline.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/test/Transforms/Coroutines/smoketest.ll

  Log Message:
  -----------
  [Coroutines] Remove CoroElide from O0 pipeline

CoroElide pass works only when a post-split coroutine is inlined into another post-split coroutine.
In O0, there is no inlining after CoroSplit, and hence no CoroElide can happen.
It's useless to put CoroElide pass in the O0 pipeline and it will never be triggered (unless I miss anything).

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




More information about the All-commits mailing list