[Mlir-commits] [mlir] [MLIR][NFC] Stop depending on func.func in affine LoopUtils via &Region (PR #83325)

Mehdi Amini llvmlistbot at llvm.org
Wed Feb 28 15:08:49 PST 2024


================
@@ -273,7 +277,7 @@ void mapLoopToProcessorIds(scf::ForOp forOp, ArrayRef<Value> processorId,
                            ArrayRef<Value> numProcessors);
 
 /// Gathers all AffineForOps in 'func.func' grouped by loop depth.
-void gatherLoops(func::FuncOp func,
+void gatherLoops(Region &region,
                  std::vector<SmallVector<AffineForOp, 2>> &depthToLoops);
 
 /// Creates an AffineForOp while ensuring that the lower and upper bounds are
----------------
joker-eph wrote:

We need to document "topRegion" everywhere

https://github.com/llvm/llvm-project/pull/83325


More information about the Mlir-commits mailing list