[Mlir-commits] [mlir] [mlir][Linalg] Preserve discardable/user-defined attributes during generalization (PR #178599)
Abhishek Varma
llvmlistbot at llvm.org
Thu Jan 29 05:05:13 PST 2026
================
@@ -64,6 +64,10 @@ FailureOr<GenericOp> mlir::linalg::generalizeNamedOp(RewriterBase &rewriter,
outputs, indexingMaps, iterators);
rewriter.inlineRegionBefore(linalgOp->getRegion(0), genericOp.getRegion(),
genericOp.getRegion().begin());
+
+ // Preserve discardable (user-defined) attributes from the original op.
----------------
Abhishek-Varma wrote:
Updated the comment.
https://github.com/llvm/llvm-project/pull/178599
More information about the Mlir-commits
mailing list