[all-commits] [llvm/llvm-project] a67231: [mlir][linalg][bufferize] Add BufferizableOpInterface

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Nov 2 02:20:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a672319c2edfcf617301b3d4f936c2d7a3b23fab
      https://github.com/llvm/llvm-project/commit/a672319c2edfcf617301b3d4f936c2d7a3b23fab
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-11-02 (Tue, 02 Nov 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/CMakeLists.txt
    A mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h
    A mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.td
    A mlir/include/mlir/Dialect/Linalg/Transforms/CMakeLists.txt
    M mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h
    A mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][linalg][bufferize] Add BufferizableOpInterface

This commit adds a new op interface: BufferizableOpInterface. In the future, ops that implement this interface can be bufferized using Comprehensive Bufferize.

Note: The interface methods of this interface correspond to the "op interface" in ComprehensiveBufferize.cpp.

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




More information about the All-commits mailing list