[all-commits] [llvm/llvm-project] f0a2fe: [mlir][Linalg] Rewrite SubTensors that take a slic...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Mar 29 09:20:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0a2fe7f79d79c757fca5bd1498a014f2f98bb72
      https://github.com/llvm/llvm-project/commit/f0a2fe7f79d79c757fca5bd1498a014f2f98bb72
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir

  Log Message:
  -----------
  [mlir][Linalg] Rewrite SubTensors that take a slice out of a unit-extend dimension.

Subtensor operations that are taking a slice out of a tensor that is
unit-extent along a dimension can be rewritten to drop that dimension.

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




More information about the All-commits mailing list