[all-commits] [llvm/llvm-project] 56d94b: [mlir] Extract offsets-sizes-strides computation f...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Thu Aug 4 02:28:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56d94b3b902e21ff79b1ce9a6fb606a3f7c1c4db
      https://github.com/llvm/llvm-project/commit/56d94b3b902e21ff79b1ce9a6fb606a3f7c1c4db
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2022-08-04 (Thu, 04 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/tile-and-distribute.mlir
    M mlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir
    M mlir/test/Dialect/Linalg/tile-conv.mlir
    M mlir/test/Dialect/Linalg/tile-to-foreach-thread.mlir
    M mlir/test/Dialect/Linalg/tile.mlir
    M mlir/test/Dialect/Linalg/transform-op-split.mlir

  Log Message:
  -----------
  [mlir] Extract offsets-sizes-strides computation from `makeTiledShape(s)`.

This change separates computation of the actual parameters of the subset and
the materialization of subview/extract_slice. That way the users can still use
Linalg tiling logic even if they use different operations to materialize the
subsets.

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




More information about the All-commits mailing list