[all-commits] [llvm/llvm-project] b956f0: [mlir][linalg] Vectorize directly to a named contr...

Adam Siemieniuk via All-commits all-commits at lists.llvm.org
Mon Jul 21 22:42:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b956f049b186fafafebc88b861982644ec3f5291
      https://github.com/llvm/llvm-project/commit/b956f049b186fafafebc88b861982644ec3f5291
  Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Vector/Utils/VectorUtils.h
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
    A mlir/test/Dialect/Linalg/vectorization/contraction-interface.mlir

  Log Message:
  -----------
  [mlir][linalg] Vectorize directly to a named contraction (#147296)

Extends linalg vectorizer with a path to lower contraction ops directly
into `vector.contract`.

The direct rewriting preserves high-level op semantics and provides more
progressive lowering compared to reconstructing contraction back from
multi dimensional reduction.
The added lowering focuses on named linalg ops and leverages their well
defined semantics to avoid complex precondition verification.

The new path is optional and disabled by default to avoid changing the
default vectorizer behavior.



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