[all-commits] [llvm/llvm-project] 790f23: [mlir][Linalg] Add a structured.pack_transpose tra...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Jan 20 00:33:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 790f237012259186ed4a767e29e85f5ba6720b59
      https://github.com/llvm/llvm-project/commit/790f237012259186ed4a767e29e85f5ba6720b59
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Linalg/transform-op-pack.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add a structured.pack_transpose transform op

This transform is complementary to the `structured.pack` op which
allows packing a whole op but does not allow transposes on the individual
operands.

`structured.pack_transpose` allows transposing single operands connected to
pack or unpack ops after the fact.

This makes the system overall more composable than e.g. a giant transform
op with all permutation specified at once.

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




More information about the All-commits mailing list