[all-commits] [llvm/llvm-project] 421403: [mlir] Introduce allowMemrefFunctionResults for th...
Ehsan Toosi via All-commits
all-commits at lists.llvm.org
Mon Jun 8 00:31:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4214031d4337a6b04ae4c28119305182e37c45bc
https://github.com/llvm/llvm-project/commit/4214031d4337a6b04ae4c28119305182e37c45bc
Author: Ehsan Toosi <ehsan.nadjaran_toosi at dfki.de>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M mlir/include/mlir/Transforms/BufferPlacement.h
M mlir/lib/Dialect/Linalg/Transforms/TensorsToBuffers.cpp
M mlir/lib/Transforms/BufferPlacement.cpp
A mlir/test/Transforms/buffer-placement-preparation-allowed-memref-results.mlir
M mlir/test/Transforms/buffer-placement-preparation.mlir
M mlir/test/lib/Transforms/TestBufferPlacement.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir] Introduce allowMemrefFunctionResults for the helper operation converters of buffer placement
This parameter gives the developers the freedom to choose their desired function
signature conversion for preparing their functions for buffer placement. It is
introduced for BufferAssignmentFuncOpConverter, and also for
BufferAssignmentReturnOpConverter, and BufferAssignmentCallOpConverter to adapt
the return and call operations with the selected function signature conversion.
If the parameter is set, buffer placement won't also deallocate the returned
buffers.
Differential Revision: https://reviews.llvm.org/D81137
More information about the All-commits
mailing list