[Mlir-commits] [mlir] 6088f86 - [mlir:Async] Convert AsyncParallelFor pass to ModuleOp pass

Eugene Zhulenev llvmlistbot at llvm.org
Tue Jun 29 09:28:29 PDT 2021


Author: Eugene Zhulenev
Date: 2021-06-29T09:28:22-07:00
New Revision: 6088f86a2e1ce3ab6fe9573e26fc63a5cf338fa9

URL: https://github.com/llvm/llvm-project/commit/6088f86a2e1ce3ab6fe9573e26fc63a5cf338fa9
DIFF: https://github.com/llvm/llvm-project/commit/6088f86a2e1ce3ab6fe9573e26fc63a5cf338fa9.diff

LOG: [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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Async/Passes.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Async/Passes.td b/mlir/include/mlir/Dialect/Async/Passes.td
index b770ac751ab13..e321747d4ec66 100644
--- a/mlir/include/mlir/Dialect/Async/Passes.td
+++ b/mlir/include/mlir/Dialect/Async/Passes.td
@@ -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()";


        


More information about the Mlir-commits mailing list