[all-commits] [llvm/llvm-project] 2fd0ea: [mlir][linalg][bufferize] CallOps do not bufferize...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Dec 1 01:52:11 PST 2021


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.td
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir

  Log Message:
  -----------
  [mlir][linalg][bufferize] CallOps do not bufferize to memory writes

However, since CallOps have no aliasing OpResults, their OpOperands always bufferize out-of-place.

This change removes `bufferizesToMemoryWrite` from `CallOpInterface`. This method was called, but its return value did not matter.

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




More information about the All-commits mailing list