[Mlir-commits] [mlir] [mlir][vector] Move transpose with unit-dim to shape_cast pattern (PR #72493)

Lei Zhang llvmlistbot at llvm.org
Tue Nov 21 16:31:03 PST 2023


antiagainst wrote:

I think creating a `populate*Patterns()` to expose this pattern should work? There are lots of existing vectore related patterns in the codebase doing that. That way it gives more control for different CodeGen flows and you can explicitly call that in your flow. Things put in canonicalization is triggering everywhere as we don't have a way to control it. 

https://github.com/llvm/llvm-project/pull/72493


More information about the Mlir-commits mailing list