[mlir:Async] Convert AsyncParallelFor pass to ModuleOp pass

Depends On D104891

Outlining scf.parallel body as a function requires async-parallel-for pass to be a ModuleOp pass

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D104998
This commit is contained in:
Eugene Zhulenev 2021-06-27 14:25:50 -07:00
parent a8f819c6d8
commit 6088f86a2e
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
include "mlir/Pass/PassBase.td"
def AsyncParallelFor : Pass<"async-parallel-for"> {
def AsyncParallelFor : Pass<"async-parallel-for", "ModuleOp"> {
let summary = "Convert scf.parallel operations to multiple async compute ops "
"executed concurrently for non-overlapping iteration ranges";
let constructor = "mlir::createAsyncParallelForPass()";