[all-commits] [llvm/llvm-project] 1b1c61: [mlir] Refactored BufferPlacement transformation.

Marcel Koester via All-commits all-commits at lists.llvm.org
Mon Oct 19 03:55:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b1c61ff47f8263680cbbf48f7d95f8bddd2386e
      https://github.com/llvm/llvm-project/commit/1b1c61ff47f8263680cbbf48f7d95f8bddd2386e
  Author: Marcel Koester <marcel.koester at dfki.de>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M mlir/include/mlir/Transforms/Bufferize.h
    M mlir/include/mlir/Transforms/Passes.h
    M mlir/include/mlir/Transforms/Passes.td
    A mlir/lib/Transforms/BufferDeallocation.cpp
    A mlir/lib/Transforms/BufferOptimizations.cpp
    R mlir/lib/Transforms/BufferPlacement.cpp
    M mlir/lib/Transforms/CMakeLists.txt
    M mlir/test/Dialect/Linalg/bufferize.mlir
    A mlir/test/Transforms/buffer-deallocation.mlir
    A mlir/test/Transforms/buffer-hoisting.mlir
    A mlir/test/Transforms/buffer-loop-hoisting.mlir
    R mlir/test/Transforms/buffer-placement.mlir

  Log Message:
  -----------
  [mlir] Refactored BufferPlacement transformation.

The current BufferPlacement transformation contains several concepts for
hoisting allocations. However, more advanced hoisting techniques should not be
integrated into the BufferPlacement transformation. Hence, this CL refactors the
current BufferPlacement pass into three separate pieces: BufferDeallocation and
BufferAllocation(Loop)Hoisting. Moreover, it extends the hoisting functionality
by allowing to move allocations out of loops.

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




More information about the All-commits mailing list