[all-commits] [llvm/llvm-project] 44a889: [mlir][linalg] Fold ExtractSliceOps during tiling.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Tue Sep 14 04:51:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44a889778ceeb6bcb11702f5c940306905a3821e
      https://github.com/llvm/llvm-project/commit/44a889778ceeb6bcb11702f5c940306905a3821e
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/include/mlir/Dialect/StandardOps/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M mlir/lib/Dialect/StandardOps/Utils/Utils.cpp
    M mlir/test/Dialect/Linalg/tile-tensors.mlir

  Log Message:
  -----------
  [mlir][linalg] Fold ExtractSliceOps during tiling.

Add the makeComposedExtractSliceOp method that creates an ExtractSliceOp and folds chains of ExtractSliceOps by computing the sum of their offsets and by multiplying their strides.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list