[all-commits] [llvm/llvm-project] 97f919: [mlir][TilingInterface] NFC Refactor of tile and f...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Wed Sep 28 13:26:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97f919820b075fe49393405bf0ea990cf820ffeb
      https://github.com/llvm/llvm-project/commit/97f919820b075fe49393405bf0ea990cf820ffeb
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2022-09-28 (Wed, 28 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
    M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterface.cpp

  Log Message:
  -----------
  [mlir][TilingInterface] NFC Refactor of tile and fuse using `TilingInterface`.

This patch refactors the tiling and tile + fuse implementation using
`TilingInterface`. Primarily, it exposes the functionality as simple
utility functions instead of as a Pattern to allow calling it from a
pattern as it is done in the test today or from within the transform
dialect (in the future). This is a step towards deprecating similar
methods in Linalg dialect.

- The utility methods do not erase the root operations.
- The return value provides the values to use for replacements.

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




More information about the All-commits mailing list