[Mlir-commits] [mlir] [mlir][scf]: Avoid inserting affine.min when tiling dynamic operation sizes if possible (PR #113819)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Oct 27 14:36:25 PDT 2024


================
@@ -186,11 +186,35 @@ static void checkSafeToTileToForall(TilingInterface op,
   }
 }
 
+/// Returns true if `size` is dynamic multiplication of `stride`.
----------------
MaheshRavishankar wrote:

Not sure I follow. The `tileDividesIterationDomain` is checking for (ub - lb) % tilesize = 0. Why doesnt that catch the case you are trying to cover here?

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


More information about the Mlir-commits mailing list