[all-commits] [llvm/llvm-project] 3f050f: [mlir][transform] Add multi-buffering to the trans...

Stella Stamenova via All-commits all-commits at lists.llvm.org
Wed Sep 28 14:30:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f050f6ac4626c9bf99bfdf5e4d7162ba7ad5cdc
      https://github.com/llvm/llvm-project/commit/3f050f6ac4626c9bf99bfdf5e4d7162ba7ad5cdc
  Author: Kirsten Lee <kile at microsoft>
  Date:   2022-09-28 (Wed, 28 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/CMakeLists.txt
    A mlir/include/mlir/Dialect/MemRef/TransformOps/CMakeLists.txt
    A mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h
    A mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
    M mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/lib/Dialect/MemRef/CMakeLists.txt
    A mlir/lib/Dialect/MemRef/TransformOps/CMakeLists.txt
    A mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
    M mlir/lib/Dialect/MemRef/Transforms/MultiBuffer.cpp
    A mlir/test/Dialect/MemRef/transform-ops.mlir

  Log Message:
  -----------
  [mlir][transform] Add multi-buffering to the transform dialect

Add the plumbing necessary to call the memref dialect's multiBuffer
function. This will allow separation between choosing which buffers
to multi-buffer and the actual transform.

Alter the multibuffer function to return the newly created
allocation if multi-buffering succeeds. This is necessary to
communicate with the transform dialect hooks what allocation
multi-buffering created.

Reviewed By: ftynse, nicolasvasilache

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




More information about the All-commits mailing list