[all-commits] [llvm/llvm-project] 6f03a1: [mlir][TilingInterface] Add a method to generate s...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Thu Jul 28 09:41:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f03a10e4fdb4f22651a9dcc5d6ab318724235e8
      https://github.com/llvm/llvm-project/commit/6f03a10e4fdb4f22651a9dcc5d6ab318724235e8
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
    M mlir/include/mlir/Dialect/Utils/StaticValueUtils.h
    M mlir/include/mlir/Interfaces/TilingInterface.td
    M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
    M mlir/lib/Dialect/Utils/StaticValueUtils.cpp
    A mlir/test/Interfaces/TilingInterface/lower-to-loops-using-interface.mlir
    M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterface.cpp

  Log Message:
  -----------
  [mlir][TilingInterface] Add a method to generate scalar implementation of the op.

While The tiling interface provides a mechanism for operations to be
tiled into tiled version of the op (or another op at the same level of
abstraction), the `generateScalarImplementation` method added here is
the "exit point" after all transformations have been done. Ops that
implement this method are expected to generate IR that are directly
lowerable to backend dialects like LLVM or SPIR-V dialects.

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




More information about the All-commits mailing list