[PATCH] D133985: [mlir][transform] Add multi-buffering to the transform dialect

Kirsten Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 15 16:10:46 PDT 2022


kile created this revision.
kile added reviewers: ThomasRaoux, ftynse.
Herald added subscribers: bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini, mgorny.
Herald added a project: All.
kile requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133985

Files:
  llvm-project/mlir/include/mlir/Dialect/MemRef/CMakeLists.txt
  llvm-project/mlir/include/mlir/Dialect/MemRef/TransformOps/CMakeLists.txt
  llvm-project/mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h
  llvm-project/mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
  llvm-project/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
  llvm-project/mlir/include/mlir/InitAllDialects.h
  llvm-project/mlir/lib/Dialect/MemRef/CMakeLists.txt
  llvm-project/mlir/lib/Dialect/MemRef/TransformOps/CMakeLists.txt
  llvm-project/mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
  llvm-project/mlir/lib/Dialect/MemRef/Transforms/MultiBuffer.cpp
  llvm-project/mlir/test/Dialect/MemRef/transform-ops.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133985.460531.patch
Type: text/x-patch
Size: 13242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220915/77424582/attachment.bin>


More information about the llvm-commits mailing list