[all-commits] [llvm/llvm-project] 96179d: [mlir][Linalg] Add a transform dialect op to rewri...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Thu Feb 16 05:39:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96179dff46a9a3981708b06bc9e0f981be4cc1a8
      https://github.com/llvm/llvm-project/commit/96179dff46a9a3981708b06bc9e0f981be4cc1a8
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  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/Utils/StaticValueUtils.h
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M mlir/lib/Dialect/Utils/StaticValueUtils.cpp
    R mlir/test/Dialect/Linalg/convert-to-destination-style.mlir
    A mlir/test/Dialect/Linalg/transform-op-rewrite-in-destination-passing-style.mlir
    M mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] Add a transform dialect op to rewrite ops to destination passing style.

A new transform dialect op is introduced to perform the rewrite.
The test pass option is now obsolete and is removed in favor of the transform.

In the process I realized the tensor.pad nofold attribute was not taken into account
and added support to emit a bufferization.alloc_tensor + linalg.copy.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D143943




More information about the All-commits mailing list