[all-commits] [llvm/llvm-project] e287d6: [mlir] Add translation from tensor.reshape to memr...

Ashay Rane via All-commits all-commits at lists.llvm.org
Mon May 9 08:45:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e287d647c61f5fbd054410d6ed9c37d5271f29ef
      https://github.com/llvm/llvm-project/commit/e287d647c61f5fbd054410d6ed9c37d5271f29ef
  Author: Ashay Rane <ashay at users.noreply.github.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/bufferize.mlir

  Log Message:
  -----------
  [mlir] Add translation from tensor.reshape to memref.reshape

This patch augments the `tensor-bufferize` pass by adding a conversion
rule to translate ReshapeOp from the `tensor` dialect to the `memref`
dialect, in addition to adding a unit test to validate the translation.

Reviewed By: springerm

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




More information about the All-commits mailing list