[all-commits] [llvm/llvm-project] 385304: [MLIR][Vector] Refactor tests for contract -> OP t...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Sat Nov 25 04:33:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 385304eb6f8c5b3137cd4937d6a93c5072bfc6b1
      https://github.com/llvm/llvm-project/commit/385304eb6f8c5b3137cd4937d6a93c5072bfc6b1
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2023-11-25 (Sat, 25 Nov 2023)

  Changed paths:
    R mlir/test/Dialect/Vector/vector-contract-matvec-transforms.mlir
    A mlir/test/Dialect/Vector/vector-contract-to-outerproduct-matvec-transforms.mlir
    M mlir/test/Dialect/Vector/vector-contract-to-outerproduct-transforms.mlir

  Log Message:
  -----------
  [MLIR][Vector] Refactor tests for contract -> OP transforms (#73348)

This patch refactors tests for:

   * vector.contract -> vector.outerproduct

transformations for matvec operations (b += Ax). Specifically, relevant
tests from the following 2 files:

   * vector-contract-matvec-transforms.mlir
   * vector-contract-to-outerproduct-transforms.mlir

are combined into one:

  * vector-contract-to-outerproduct-matvec-transforms.mlir

All original tests are preserved and no new tests are added.

This is a part of a larger effort to add cases with scalable vectors
to tests for the Vector dialect. I am refactoring these test as a
preparation for follow-up patches.

Implements #72834.




More information about the All-commits mailing list