This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Remove eliminateBlockingAwaitOps option in AsyncToAsyncRuntime pass
ClosedPublic

Authored by yijia1212 on Nov 2 2022, 12:26 PM.

Details

Summary

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.

Diff Detail

Event Timeline

yijia1212 created this revision.Nov 2 2022, 12:26 PM
yijia1212 requested review of this revision.Nov 2 2022, 12:26 PM
ezhulenev accepted this revision.Nov 2 2022, 12:30 PM
This revision is now accepted and ready to land.Nov 2 2022, 12:30 PM
ezhulenev retitled this revision from Remove eliminateBlockingAwaitOps option in AsyncToAsyncRuntime pass to [mlir] Remove eliminateBlockingAwaitOps option in AsyncToAsyncRuntime pass.Nov 2 2022, 12:58 PM
mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp