[all-commits] [llvm/llvm-project] 1eeffc: [mlir][linalg][bufferize] Support custom insertion...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jan 14 05:53:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1eeffcdb7a11b0f9e9c28dc9a40fa4f08e737939
      https://github.com/llvm/llvm-project/commit/1eeffcdb7a11b0f9e9c28dc9a40fa4f08e737939
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

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

  Log Message:
  -----------
  [mlir][linalg][bufferize] Support custom insertion point for buffer copies

By default, copies are inserted right before the tensor OpOperand use. With this change, `bufferize` implementation can change the insertion point. This is needed for some ops where it would be illegal to insert a copy right before the use.

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




More information about the All-commits mailing list