[all-commits] [llvm/llvm-project] 58f805: [mlir][linalg] Consolidate tests for scalable vect...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Tue May 27 08:40:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58f80536d3ee1a9ca3e8aa62da92d33d4bc9cc8c
      https://github.com/llvm/llvm-project/commit/58f80536d3ee1a9ca3e8aa62da92d33d4bc9cc8c
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    R mlir/test/Dialect/Linalg/vectorization-scalable.mlir
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][linalg] Consolidate tests for scalable vectorization (#141469)

This patch moves scalable vectorization tests into an existing generic
vectorization test file:
  * vectorization-scalable.mlir --> merged into vectorization.mlir

Rationale:
  * Most tests in vectorization-scalable.mlir are variants of existing
    tests in vectorization.mlir. Keeping them together improves
    maintainability.
  * Consolidating tests makes it easier to spot gaps in coverage for
    regular vectorization.
  * In the Vector dialect, we don't separate tests for scalable vectors;
    this change aligns Linalg with that convention.

Notable changes beyond moving tests:
  * Updated one of the two matrix-vector multiplication tests to use
    `linalg.matvec` instead of `linalg.generic`. CHECK lines remain
    unchanged.
  * Simplified the lone `linalg.index` test by removing an unnecessary
    `tensor.extract`. Also removed canonicalization patterns from the
    TD sequence for consistency with other tests.

This patch contributes to the implementation of #141025 — please refer
to that ticket for full context.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list