[Mlir-commits] [mlir] [mlir][linalg] Edit the yieldOutputs method's builder (PR #73900)
Amir Bishara
llvmlistbot at llvm.org
Wed Nov 29 23:59:28 PST 2023
================
@@ -260,6 +260,7 @@ struct SparseTensorCodegenPass
// The following operations and dialects may be introduced by the
// codegen rules, and are therefore marked as legal.
target.addLegalOp<linalg::FillOp>();
+ target.addLegalOp<linalg::YieldOp>();
----------------
amirBish wrote:
yep, without this legalizing `YieldOp`, the `RewritePattern` won't be applied (since YieldOp it's not legal).
https://github.com/llvm/llvm-project/pull/73900
More information about the Mlir-commits
mailing list