[all-commits] [llvm/llvm-project] 51c163: [mlir] Remove eliminateBlockingAwaitOps option in ...

yijia1212 via All-commits all-commits at lists.llvm.org
Wed Nov 2 13:59:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51c1632f8d500a8439707153439650945c446dfa
      https://github.com/llvm/llvm-project/commit/51c1632f8d500a8439707153439650945c446dfa
  Author: yijiagu <yijiagu at google.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Async/IR/AsyncDialect.td
    M mlir/include/mlir/Dialect/Async/Passes.td
    M mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
    R mlir/test/Dialect/Async/async-to-async-runtime-eliminate-blocking.mlir

  Log Message:
  -----------
  [mlir] Remove eliminateBlockingAwaitOps option in AsyncToAsyncRuntime pass

Remove the eliminateBlockingAwaitOps option in AsyncToAsyncRuntime pass

Today the AsyncToAsyncRuntime pass does two things: one is converting normal funcs with async ops to coroutine cfg; the other is lowering high level async operations to async.coro and async.runtime operations. This patch removes the converting step from AsyncToAsyncRuntime pass.

In the next step we will create a new asyncfication pass for converting normal funcs to the newly added async.func operation.

Reviewed By: ezhulenev

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




More information about the All-commits mailing list