[Mlir-commits] [mlir] [MLIR][Linalg] Bail out if the tiles provided are more than the number (PR #66007)
Matthias Springer
llvmlistbot at llvm.org
Tue Sep 12 01:36:03 PDT 2023
================
@@ -2533,6 +2533,12 @@ transform::TileOp::apply(transform::TransformRewriter &rewriter,
diag.attachNote(op->getLoc()) << "target op";
return diag;
}
+ if (tileSizes.size() > tilingInterface.getLoopIteratorTypes().size()) {
+ DiagnosedSilenceableFailure diag = emitSilenceableError()
+ << "too many tiles for";
----------------
matthias-springer wrote:
I'd rephrase this as `too many tile sizes provided, expected at most X, found Y`.
https://github.com/llvm/llvm-project/pull/66007
More information about the Mlir-commits
mailing list