[all-commits] [llvm/llvm-project] 2e3459: [mlir][tensor] Remove folding of tensor.extract_sl...

Thomas via All-commits all-commits at lists.llvm.org
Fri Aug 26 07:39:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e34599bfd01e5b20e09bd6af590a52d6a63a64c
      https://github.com/llvm/llvm-project/commit/2e34599bfd01e5b20e09bd6af590a52d6a63a64c
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M mlir/test/Dialect/Linalg/multisize-tiling-full.mlir
    M mlir/test/Dialect/Linalg/tile-fuse-and-distribute.mlir
    M mlir/test/Dialect/Linalg/tile-tensors.mlir
    M mlir/test/Dialect/Linalg/transform-op-fuse.mlir
    M mlir/test/Dialect/Linalg/transform-op-split.mlir

  Log Message:
  -----------
  [mlir][tensor] Remove folding of tensor.extract_slice during tiling

Blindly folding tensor.extract_slice makes the bufferization
transformation harder. This kind of transformation should happen
separatley if needed rather than doing it within makeShape that is
called during tiling.
Also removed makeComposedExtractSliceOp as it is not tested outside of
this code.

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




More information about the All-commits mailing list