HomePhabricator

[mlir:Async] Use LLVM coro operations in async.coro lowering

Authored by ezhulenev on Jan 25 2021, 3:53 PM.

Description

[mlir:Async] Use LLVM coro operations in async.coro lowering

Instead of using llvm.call operations to call LLVM coro intrinsics use Coro operations from the LLVM dialect.

(This was reviewed as a part of https://reviews.llvm.org/D94923 but was lost in arc land from local branch)

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