[Mlir-commits] [mlir] [mlir][scf] Implement Conversion from scf.parallel to Nested scf.for (PR #147692)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Jul 21 09:13:59 PDT 2025
================
@@ -124,6 +124,17 @@ def SCFForallToParallelLoop : Pass<"scf-forall-to-parallel"> {
let constructor = "mlir::createForallToParallelLoopPass()";
}
+def SCFParallelForToNestedFors : Pass<"scf-parallel-for-to-nested-fors"> {
+ let summary = "Convert SCF parallel for loops to nested SCF for loops";
+ let constructor = "mlir::createParallelForToNestedForsPass()";
+ let description = [{
+ This pass transforms SCF.ParallelOp operations into a nest of SCF.ForOp
----------------
Max191 wrote:
```suggestion
This pass transforms SCF::ParallelOp operations into a nest of SCF::ForOp
```
https://github.com/llvm/llvm-project/pull/147692
More information about the Mlir-commits
mailing list