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

Alexey Z. llvmlistbot at llvm.org
Thu May 30 12:03:43 PDT 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
----------------
last5bits wrote:

Fixed.

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


More information about the Mlir-commits mailing list