[all-commits] [llvm/llvm-project] b86657: [mlir] Add BufferResultsToOutParams pass.

Sean Silva via All-commits all-commits at lists.llvm.org
Fri Oct 30 14:08:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b8665742462d7402ead7b18a4f30e3aea91459a5
      https://github.com/llvm/llvm-project/commit/b8665742462d7402ead7b18a4f30e3aea91459a5
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/Passes.h
    M mlir/include/mlir/Transforms/Passes.td
    A mlir/lib/Transforms/BufferResultsToOutParams.cpp
    M mlir/lib/Transforms/CMakeLists.txt
    A mlir/test/Transforms/buffer-results-to-out-params.mlir

  Log Message:
  -----------
  [mlir] Add BufferResultsToOutParams pass.

This pass allows removing getResultConversionKind from
BufferizeTypeConverter. This pass replaces the AppendToArgumentsList
functionality. As far as I could tell, the only use of this functionlity
is to perform the transformation that is implemented in this pass.

Future patches will remove the getResultConversionKind machinery from
BufferizeTypeConverter, but sending this patch for individual review for
clarity.

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




More information about the All-commits mailing list