[all-commits] [llvm/llvm-project] 346830: [MLIR] Update the FunctionAndBlockSignatureConvert...

Ehsan Toosi via All-commits all-commits at lists.llvm.org
Tue May 19 08:06:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 346830051105a849d7fc3ceb246e65acbc0264ae
      https://github.com/llvm/llvm-project/commit/346830051105a849d7fc3ceb246e65acbc0264ae
  Author: Ehsan Toosi <ehsan.nadjaran_toosi at dfki.de>
  Date:   2020-05-19 (Tue, 19 May 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.mlir
    R mlir/test/Transforms/buffer-placement-prepration.mlir
    M mlir/test/lib/Transforms/TestBufferPlacement.cpp

  Log Message:
  -----------
  [MLIR] Update the FunctionAndBlockSignatureConverter and NonVoidToVoidReturnOpConverter of Buffer Assignment

Making these two converters more generic. FunctionAndBlockSignatureConverter now
moves only memref results (after type conversion) to the function argument and
keeps other legal function results unchanged. NonVoidToVoidReturnOpConverter is
renamed to NoBufferOperandsReturnOpConverter. It removes only the buffer
operands from the operands of the converted ReturnOp and inserts CopyOps to copy
each buffer to the target function argument.

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




More information about the All-commits mailing list