[all-commits] [llvm/llvm-project] 2cf30c: [Coroutines] Only run verifyFunction in debug mode

Xun Li via All-commits all-commits at lists.llvm.org
Thu Sep 2 17:35:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cf30c4769a5423fa6a2d726df182aaa29e3c966
      https://github.com/llvm/llvm-project/commit/2cf30c4769a5423fa6a2d726df182aaa29e3c966
  Author: Xun Li <lxfind at gmail.com>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp

  Log Message:
  -----------
  [Coroutines] Only run verifyFunction in debug mode

verifyFunction can be really slow on large functions. This can significantly slow down compilation in production.
Given that coroutine passes are fairly stable now, we should only run it in debug mode.

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




More information about the All-commits mailing list