[Mlir-commits] [mlir] [mlir][TilingInterface] Move TilingInterface tests to use transform dialect ops. (PR #77204)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jan 11 17:13:13 PST 2024


================
@@ -283,10 +283,7 @@ mlir::scf::tileUsingSCFForOp(RewriterBase &rewriter, TilingInterface op,
   // 1. Get the range of the loops that are represented by the operation.
   SmallVector<Range> iterationDomain = op.getIterationDomain(rewriter);
   size_t numLoops = iterationDomain.size();
-  if (numLoops == 0) {
-    return rewriter.notifyMatchFailure(
-        op, "unable to tile op with no iteration domain");
-  }
+
----------------
MaheshRavishankar wrote:

Yeah, I am doing that in a follow up. I have a change that I have locally that reworks the logic here which I will send out after this lands. For now this just avoids an error.

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


More information about the Mlir-commits mailing list