[all-commits] [llvm/llvm-project] f7bc56: [mlir] Remove AppendToArgumentsList functionality ...

Sean Silva via All-commits all-commits at lists.llvm.org
Thu Nov 5 11:22:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f7bc56826616814a656866fd50e90a35a8e461eb
      https://github.com/llvm/llvm-project/commit/f7bc56826616814a656866fd50e90a35a8e461eb
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/Bufferize.h
    M mlir/lib/Transforms/Bufferize.cpp
    R mlir/test/Transforms/finalizing-bufferize-allowed-memref-results.mlir
    M mlir/test/Transforms/finalizing-bufferize.mlir
    M mlir/test/lib/Transforms/TestFinalizingBufferize.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir] Remove AppendToArgumentsList functionality from BufferizeTypeConverter.

This functionality is superceded by BufferResultsToOutParams pass (see
https://reviews.llvm.org/D90071) for users the require buffers to be
out-params. That pass should be run immediately after all tensors are gone from
the program (before buffer optimizations and deallocation insertion), such as
immediately after a "finalizing" bufferize pass.

The -test-finalizing-bufferize pass now defaults to what used to be the
`allowMemrefFunctionResults=true` flag. and the
finalizing-bufferize-allowed-memref-results.mlir file is moved
to test/Transforms/finalizing-bufferize.mlir.

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




More information about the All-commits mailing list