[all-commits] [llvm/llvm-project] e3de24: [mlir] Add a subtensor operation

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Oct 2 02:37:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e3de249a4c94d6962b36c2b4747c134d152bed37
      https://github.com/llvm/llvm-project/commit/e3de249a4c94d6962b36c2b4747c134d152bed37
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.h
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/IR/core-ops.mlir
    M mlir/test/IR/invalid-ops.mlir
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir] Add a subtensor operation

This revision introduces a `subtensor` op, which is the counterpart of `subview` for a tensor operand. This also refactors the relevant pieces to allow reusing the `subview` implementation where appropriate.

This operation will be used to implement tiling for Linalg on tensors.




More information about the All-commits mailing list