[all-commits] [llvm/llvm-project] 06c02d: [mlir][linalg] Fix tiling interface implementation...

Thomas via All-commits all-commits at lists.llvm.org
Thu Aug 18 17:16:59 PDT 2022


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

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/multisize-tiling-full.mlir
    M mlir/test/Dialect/Linalg/tile-to-foreach-thread.mlir

  Log Message:
  -----------
  [mlir][linalg] Fix tiling interface implementation offset calculation

The tiling interface implementation was making assumption on the code
generated by makeTiledShape which were wrong. The ExtractSliceOp create
may be combined with other ExtractSliceOp. To solve that we compute
directly the offset using the new utilities.

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




More information about the All-commits mailing list