[all-commits] [llvm/llvm-project] 4397a1: [mlir][linalg][bufferize] Remove remaining linalg ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Nov 11 02:05:07 PST 2021


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.td
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
    M mlir/lib/Dialect/Linalg/IR/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/IR/LinalgTypes.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][linalg][bufferize] Remove remaining linalg dependencies

* Move "linalg.inplaceable" attr name literals to BufferizableOpInterface.
* Use `memref.copy` by default. Override to `linalg.copy` in ComprehensiveBufferizePass.

These are the last remaining code dependencies on Linalg in Comprehensive Bufferize. The next commit will make ComprehensiveBufferize independent of the Linalg dialect.

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




More information about the All-commits mailing list