[all-commits] [llvm/llvm-project] e4fd46: [mlir][linalg] Add a test for linalg.matmul --> ve...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Tue May 16 00:46:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4fd46b511b4a2729e5e1f792e741a88b4c5b935
      https://github.com/llvm/llvm-project/commit/e4fd46b511b4a2729e5e1f792e741a88b4c5b935
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    A mlir/test/Dialect/Linalg/transform-op-matmul-to-outerproduct.mlir

  Log Message:
  -----------
  [mlir][linalg] Add a test for linalg.matmul --> vector.outerproduct

Representing matmuls as a sum of outer products is central to various
matrix extensions (e.g. Arm's SME). This test demonstrates how to use
Linalg's vectoriser and Vector's lowerings to represent `linalg.matmul`
as a chain of `vector.outerproduct` Ops.

Differential Revision: https://reviews.llvm.org/D150457




More information about the All-commits mailing list