Eugene Zhulenev 25f80e16d1 [mlir] Async: add a separate pass to lower from async to async.coro and async.runtime
Depends On D95000

Move async.execute outlining and async -> async.runtime lowering into the separate Async transformation pass

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D95311
2021-01-26 03:33:20 -08:00

21 lines
359 B
CMake

add_mlir_dialect_library(MLIRAsyncTransforms
AsyncParallelFor.cpp
AsyncRefCounting.cpp
AsyncRefCountingOptimization.cpp
AsyncToAsyncRuntime.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Async
DEPENDS
MLIRAsyncPassIncGen
LINK_LIBS PUBLIC
MLIRIR
MLIRAsync
MLIRSCF
MLIRPass
MLIRTransforms
MLIRTransformUtils
)