[all-commits] [llvm/llvm-project] 072491: [mlir] Add `tensor.reshape`.

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Thu Apr 22 05:53:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0724911d2a7b10ca4b8f8bbecd754143a2bed3db
      https://github.com/llvm/llvm-project/commit/0724911d2a7b10ca4b8f8bbecd754143a2bed3db
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Tensor/invalid.mlir
    M mlir/test/Dialect/Tensor/ops.mlir

  Log Message:
  -----------
  [mlir] Add `tensor.reshape`.

This operation a counterpart of `memref.reshape`.

RFC [Reshape Ops Restructuring](https://llvm.discourse.group/t/rfc-reshape-ops-restructuring/3310)

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




More information about the All-commits mailing list