[Mlir-commits] [mlir] [MLIR] Add continuous tiling to TileUsingForOp (PR #82792)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Tue Feb 27 06:21:00 PST 2024
================
@@ -309,6 +311,188 @@ static LogicalResult generateLoopNest(RewriterBase &rewriter, Location loc,
return rewriter.notifyMatchFailure(loc, "unhandled loop type");
}
+static void continuousLoopNestHelper(
+ OpBuilder &builder, Location loc, ArrayRef<Range> loopRanges,
+ SmallVector<LoopLikeOpInterface> &loops, uint64_t loopLevelIdx,
+ uint64_t &loopIdx, ArrayRef<OpFoldResult> tileSizes,
+ SmallVector<bool> &CTileVector, std::map<int, OpFoldResult> &sizesMap,
----------------
ftynse wrote:
We almost never want an `std::map` in LLVM codebase, there are many alternatives that are often better - https://llvm.org/docs/ProgrammersManual.html#map-like-containers-std-map-densemap-etc. A map with an integer key can also be an array/vector.
https://github.com/llvm/llvm-project/pull/82792
More information about the Mlir-commits
mailing list