[all-commits] [llvm/llvm-project] c8f400: [mlir][linalg][bufferize] Add isWritable to op int...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Nov 4 19:36:15 PDT 2021


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.td
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp

  Log Message:
  -----------
  [mlir][linalg][bufferize] Add isWritable to op interface

By default, OpResult buffers are writable. But there are ops (e.g., ConstantOp) for which this is not the case.

The purpose of this commit is to further decouple Comprehensive Bufferize from the Standard dialect.

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




More information about the All-commits mailing list