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

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Wed Aug 10 06:38:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42f32f69ade78fe443c911cdbacc1d77fbb3d843
      https://github.com/llvm/llvm-project/commit/42f32f69ade78fe443c911cdbacc1d77fbb3d843
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2022-08-10 (Wed, 10 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