[all-commits] [llvm/llvm-project] 5b3881: [mlir] Delay adding the __resume function

Christian Sigg via All-commits all-commits at lists.llvm.org
Tue Feb 2 11:03:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b3881691f3375344c1b4c3d594b5958948851d7
      https://github.com/llvm/llvm-project/commit/5b3881691f3375344c1b4c3d594b5958948851d7
  Author: Christian Sigg <csigg at google.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp

  Log Message:
  -----------
  [mlir] Delay adding the __resume function

The __resume function trips up LLVM's 'X86 DAG->DAG Instruction Selection' unless optimizations are disabled.

Only adding the __resume function when it's needed allows lowering through AsyncToLLVM and LLVM without '-O0' as long as the coroutine functionality is not used.

Reviewed By: ezhulenev

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




More information about the All-commits mailing list