[Mlir-commits] [mlir] [mlir][linalg] Pack matmul pass (PR #89782)

Adam Siemieniuk llvmlistbot at llvm.org
Tue Apr 23 10:04:52 PDT 2024


adam-smnk wrote:

> Hi, what is the difference with `structured.pack` except for the support of `batch_matmul` ?

Both share the same core logic under the hood. I imagine you could express this pass as a transform sequence.
The pass combines the two transforms `pack_greedily` and `pack_transpose` to achieve more specific transformation that is beneficial for CPUs.

> Could they be merged together ?

I think the two serve a bit different purposes.

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


More information about the Mlir-commits mailing list