[Mlir-commits] [mlir] [mlir][vector] ND vectors linearization pass (PR #81159)

Ivan Butygin llvmlistbot at llvm.org
Thu Feb 8 16:43:35 PST 2024


Hardcode84 wrote:

> You can move that pass under mlir/test/lib/Dialect/Vector for testing. In that way, the pass is not prescribing how the patterns should be used and leave that decision to the user.

Makes sense, I'll do it.

> Perhaps we can also add a callback function so that the user can decide when an op should be linearized or not. That should give us the level of flexibility that we need.

User already have some control over it by overriding `target.mark(Unknown)OpDynamicallyLegal`.

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


More information about the Mlir-commits mailing list