[Mlir-commits] [mlir] [mlir][linalg] Add pass to transpose A matrix of matmul op (PR #89075)

Benjamin Maxwell llvmlistbot at llvm.org
Thu Apr 18 01:37:03 PDT 2024


MacDue wrote:

> Thanks @c-rhodes . This seems like a very specific use case though.... The possibilities here are too many. For one we shouldnt add a pass for it at all...
> 
> Broadly, I am wondering if we even need to add such one-off patterns in core. If there is a "general framework" to convert from one named op type to another prescriptively that would be a useful infra to have, but a one-off doesnt seem useful and hard to manage.

Note that the main use of this will be in IREE (for ArmSME). Would you be okay with adding a one-off pattern/rewrite there (rather than in the core)?

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


More information about the Mlir-commits mailing list