[Mlir-commits] [mlir] [mlir][Transform dial] Expose convert-linalg-to-affine-loops transf (PR #211308)
Guillaume Iooss
llvmlistbot at llvm.org
Fri Jul 31 07:24:54 PDT 2026
================
@@ -4593,6 +4593,41 @@ DiagnosedSilenceableFailure transform::DecomposeWinogradOp::applyToOne(
return DiagnosedSilenceableFailure::success();
}
+//===----------------------------------------------------------------------===//
+// LinAlgToAffine
+//===----------------------------------------------------------------------===//
+
+DiagnosedSilenceableFailure transform::LinAlgToAffineOp::applyToOne(
+ transform::TransformRewriter &rewriter, linalg::LinalgOp target,
+ ApplyToEachResultList &results, TransformState &state) {
+ if (! isa<GenericOp>(target)) {
+ return DiagnosedSilenceableFailure::definiteFailure();
----------------
guillaumeiooss wrote:
Corrected (and, as mentionned previously, the error reporting was improved)
https://github.com/llvm/llvm-project/pull/211308
More information about the Mlir-commits
mailing list