[all-commits] [llvm/llvm-project] 621ad4: [mlir] Async: lowering async.value to LLVM
Eugene Zhulenev via All-commits
all-commits at lists.llvm.org
Fri Dec 25 02:28:48 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 621ad468d99d4013a4298465f02707a5e9e89cae
https://github.com/llvm/llvm-project/commit/621ad468d99d4013a4298465f02707a5e9e89cae
Author: Eugene Zhulenev <ezhulenev at google.com>
Date: 2020-12-25 (Fri, 25 Dec 2020)
Changed paths:
M mlir/include/mlir/ExecutionEngine/AsyncRuntime.h
M mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
M mlir/lib/Conversion/AsyncToLLVM/CMakeLists.txt
M mlir/lib/ExecutionEngine/AsyncRuntime.cpp
M mlir/test/Conversion/AsyncToLLVM/convert-to-llvm.mlir
A mlir/test/mlir-cpu-runner/async-value.mlir
Log Message:
-----------
[mlir] Async: lowering async.value to LLVM
1. Add new methods to Async runtime API to support yielding async values
2. Add lowering from `async.yield` with value payload to the new runtime API calls
`async.value` lowering requires that payload type is convertible to LLVM and supported by `llvm.mlir.cast` (DialectCast) operation.
Reviewed By: csigg
Differential Revision: https://reviews.llvm.org/D93592
More information about the All-commits
mailing list