[all-commits] [llvm/llvm-project] 77596b: [mlir][vector] Add a new TD op to wrap unit-dim co...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Fri Sep 12 03:09:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77596b78e5664fff8d272599c0420fc9b87e2c2d
      https://github.com/llvm/llvm-project/commit/77596b78e5664fff8d272599c0420fc9b87e2c2d
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
    M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
    A mlir/test/Dialect/Vector/td/xfer-drop-unit-dims.mlir
    M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Add a new TD op to wrap unit-dim collapsing patterns (#157507)

Adds a new TD Op,
  * `apply_patterns.vector.drop_inner_most_unit_dims_from_xfer_ops`,

which wraps the following Vector patterns:

  * `DropInnerMostUnitDimsTransferRead`
  * `DropInnerMostUnitDimsTransferWrite`

This complements other existing unit-dimension–related patterns.

To reduce duplication, the
`TestVectorTransferCollapseInnerMostContiguousDims`
pass has been removed. That pass was only used for testing, and its
functionality is now covered by the newly added TD Op.



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