[Mlir-commits] [mlir] [mlir][TilingInterface] Make the tiling set tile sizes function use `OpFoldResult`. (PR #66566)

Quinn Dawkins llvmlistbot at llvm.org
Fri Sep 15 20:03:46 PDT 2023


================
@@ -112,11 +104,10 @@ static OpFoldResult getBoundedTileSize(OpBuilder &b, Location loc,
 /// - In `offsets` and `sizes` return the multi-dimensional offset and size of
 /// the
 ///   tile processed within the inner most loop.
-static SmallVector<scf::ForOp>
-generateTileLoopNest(OpBuilder &builder, Location loc,
-                     ArrayRef<Range> loopRanges, ArrayRef<Value> tileSizeVals,
-                     SmallVector<OpFoldResult> &offsets,
-                     SmallVector<OpFoldResult> &sizes) {
+static SmallVector<scf::ForOp> generateTileLoopNest(
+    OpBuilder &builder, Location loc, ArrayRef<Range> loopRanges,
+    ArrayRef<OpFoldResult> tileSizeVals, SmallVector<OpFoldResult> &offsets,
----------------
qedawkins wrote:

nit: `tileSizeVals` -> `tileSizes`.

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


More information about the Mlir-commits mailing list