[mlir] Add async.await operation to async dialect
authorEugene Zhulenev <ezhulenev@google.com>
Mon, 12 Oct 2020 21:38:42 +0000 (14:38 -0700)
committerEugene Zhulenev <ezhulenev@google.com>
Tue, 13 Oct 2020 04:05:36 +0000 (21:05 -0700)
commit61dce0f308e35df1edbd3061af339a3aff8d1f35
treea0a7074662b6a5c8c908eceb37a0fab9223dfaa2
parent913f6005669cfb590c99865a90bc51ed0983d09d
[mlir] Add async.await operation to async dialect

Add async.await operation to "unwrap" async.values

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D89137
mlir/include/mlir/Dialect/Async/IR/AsyncOps.td
mlir/lib/Dialect/Async/IR/Async.cpp
mlir/test/Dialect/Async/ops.mlir
mlir/test/Dialect/Async/verify.mlir [new file with mode: 0644]