[Mlir-commits] [mlir] [mlir] Add option for a cleanup pattern set to SCF tiling helper (PR #109554)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Sep 25 09:37:25 PDT 2024
================
@@ -1315,6 +1317,172 @@ FailureOr<SmallVector<Operation *>> mlir::scf::yieldReplacementForFusedProducer(
return generatedSlices;
}
+namespace {
+
+//===----------------------------------------------------------------------===//
+// SliceWorklist
+//===----------------------------------------------------------------------===//
+
+/// Struct for tracking the number of stale entries on the worklist and whether
+/// there is a remaining valid entry.
+struct EntryCount {
----------------
MaheshRavishankar wrote:
I think some more comments are warranted here. Specifically as to why having `count` greater than 1 implies that it is a stale entry.
https://github.com/llvm/llvm-project/pull/109554
More information about the Mlir-commits
mailing list