[all-commits] [llvm/llvm-project] 6e98c8: [mlir][linalg] Move vectorization tests for Tensor...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Fri May 23 06:08:53 PDT 2025


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

  Changed paths:
    M mlir/test/Dialect/Linalg/vectorization-with-patterns.mlir
    M mlir/test/Dialect/Linalg/vectorization.mlir
    A mlir/test/Dialect/Linalg/vectorization/extract-with-patterns.mlir
    A mlir/test/Dialect/Linalg/vectorization/extract.mlir
    A mlir/test/Dialect/Linalg/vectorization/insert-slice-with-patterns.mlir
    A mlir/test/Dialect/Linalg/vectorization/insert-slice.mlir
    A mlir/test/Dialect/Linalg/vectorization/pad-with-patterns.mlir
    A mlir/test/Dialect/Linalg/vectorization/pad.mlir
    R mlir/test/Dialect/Linalg/vectorize-tensor-extract-masked.mlir
    R mlir/test/Dialect/Linalg/vectorize-tensor-extract.mlir

  Log Message:
  -----------
  [mlir][linalg] Move vectorization tests for Tensor Ops (nfc) (#140877)

This patch reorganises vectorisation tests for tensor ops:

  * Tests for `tensor.pad` and `tensor.insert_slice` are extracted into
    dedicated files under a new `vectorization/` subdirectory.
  * Test files for `tensor.extract` are renamed and moved to the same
    subdirectory.

Goals:
* Unify test file naming.
* Better organise the growing set of tests, which are currently hard to
  navigate.

This is also a preparatory step for upcoming changes. I’ll soon be updating the
vectorisation logic for `tensor.pad` and `tensor.insert_slice`. With the new
structure in place, follow-up changes will be easier to review:
  * Only tests related to those ops will be updated.
  * Changes (e.g., to masking logic) will be isolated to the relevant tests.

This patch implements part of #141025 - please see the 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