[all-commits] [llvm/llvm-project] 8f2299: [mlir][Linalg] Add a linalg.tensor_reshape to oper...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Apr 6 08:23:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f229989d5394a36624f8ef1abf06f556e0664b7
      https://github.com/llvm/llvm-project/commit/8f229989d5394a36624f8ef1abf06f556e0664b7
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add a linalg.tensor_reshape to operate on tensors

Summary:
This revision adds a tensor_reshape operation that operates on tensors.
In the tensor world the constraints are less stringent and we can allow more
arbitrary dynamic reshapes, as long as they are contractions.

The expansion of a dynamic dimension into multiple dynamic dimensions is under-specified and is punted on for now.

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




More information about the All-commits mailing list