[all-commits] [llvm/llvm-project] 9619a2: [MLIR][Vector] Refactor tests for contract -> ...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Wed Nov 29 06:24:57 PST 2023


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

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

  Log Message:
  -----------
      [MLIR][Vector] Refactor tests for contract -> OP transforms (3/N) (#73447)

This patch refactors tests for:

      vector.contract -> vector.outerproduct

for matvec operations (b += Ax). Summary of changes:
  * names of LIT variables are unified,
  * "plain" tests (i.e. without masking and with fixed-width vectors)
    are moved to the top of their respective sections,
  * missing "plain" cases 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 tests so that it's
easier to identify what cases are tested and where to add tests for
scalable vectors.

Implements #72834.




More information about the All-commits mailing list