[mlir] Remove eliminateBlockingAwaitOps option in AsyncToAsyncRuntime pass
authoryijiagu <yijiagu@google.com>
Wed, 2 Nov 2022 20:51:48 +0000 (13:51 -0700)
committerEugene Zhulenev <ezhulenev@google.com>
Wed, 2 Nov 2022 20:58:54 +0000 (13:58 -0700)
commit51c1632f8d500a8439707153439650945c446dfa
tree96b80aa97b73ac6a2be5b78de9bc5ae8b4aadd37
parentcf239c2f1777eb94a4801a086acf1332a7d3cccf
[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
mlir/include/mlir/Dialect/Async/IR/AsyncDialect.td
mlir/include/mlir/Dialect/Async/Passes.td
mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
mlir/test/Dialect/Async/async-to-async-runtime-eliminate-blocking.mlir [deleted file]