[all-commits] [llvm/llvm-project] cc45a1: [mlir][linalg][bufferize] LinalgOps can bufferize ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Dec 9 04:59:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc45a13422ca78ea750cce0fc502ac44b784d811
      https://github.com/llvm/llvm-project/commit/cc45a13422ca78ea750cce0fc502ac44b784d811
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir

  Log Message:
  -----------
  [mlir][linalg][bufferize] LinalgOps can bufferize inplace with input args

LinalgOp results usually bufferize inplace with output args. With this change, they may buffer inplace with input args if the value of the output arg is not used in the computation.

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




More information about the All-commits mailing list