[all-commits] [llvm/llvm-project] 3028bc: [mlir] Move AllocationOpInterface to Bufferize/IR/...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Mon Nov 22 12:01:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3028bca6a987e424365ca67f6dc29e037e52ea11
      https://github.com/llvm/llvm-project/commit/3028bca6a987e424365ca67f6dc29e037e52ea11
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    A mlir/include/mlir/Dialect/Bufferization/CMakeLists.txt
    A mlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h
    A mlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td
    A mlir/include/mlir/Dialect/Bufferization/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/CMakeLists.txt
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/Interfaces/SideEffectInterfaces.td
    A mlir/lib/Dialect/Bufferization/CMakeLists.txt
    A mlir/lib/Dialect/Bufferization/IR/AllocationOpInterface.cpp
    A mlir/lib/Dialect/Bufferization/IR/CMakeLists.txt
    M mlir/lib/Dialect/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Transforms/BufferDeallocation.cpp
    M mlir/lib/Transforms/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td.

Remove the interface from op defs in MemRefOps.td and make it an external model.

This is the first PR of many that will move bufferization-related ops, interfaces, passes to Dialect/Bufferize.
RFC: https://llvm.discourse.group/t/rfc-dialect-for-bufferization-related-ops/4712
It is still debated if the comprehensive bufferization has to be moved there as well, so for now I am just moving the "gradual" bufferization.

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




More information about the All-commits mailing list