[Mlir-commits] [mlir] [mlir][linalg] Fix partial fuse by collapse (PR #136326)
Ian Wood
llvmlistbot at llvm.org
Fri Apr 18 10:15:05 PDT 2025
IanWood1 wrote:
The generic op gets replaced with and expand shape: `generic -> collapse_shape` to `collapsed generic -> expand -> collapse` preventing an infinite loop. >From the pattern rewrite docs:
>The root operation is required to either be: updated in-place, replaced, or erased.
Is changing an operand considered updating? If not, this pattern could be rooted on the generic op.
https://github.com/llvm/llvm-project/pull/136326
More information about the Mlir-commits
mailing list