[Mlir-commits] [mlir] [mlir] Canonicalize tensor.extract_slice (linalg.fill) (PR #112619)
Nithin Meganathan
llvmlistbot at llvm.org
Sun Oct 20 18:04:16 PDT 2024
nithinsubbiah wrote:
Thanks for the comments. I agree with @banach-space that this might not fit into a canonicalization pattern when the `FillOp` has multiple consumers introducing additional buffer allocation.
I've changed the pattern to fold only when there's one consumer of the `FillOp`.
https://github.com/llvm/llvm-project/pull/112619
More information about the Mlir-commits
mailing list