[PATCH] D78993: [mlir] Removed tight coupling of BufferPlacement pass to Alloc and Dealloc operations by using MemoryEffectOpInterface queries.

Marcel Koester via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 04:15:38 PDT 2020


dfki-mako created this revision.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.
dfki-mako added reviewers: mehdi_amini, herhut, pifon2a.
dfki-mako added a project: MLIR.
dfki-mako updated this revision to Diff 260586.
dfki-mako added a comment.

Removed todo comment.


The current BufferPlacement implementation tries to find Alloc and Dealloc operations in order to move them. However, this is a tight coupling to standard-dialect ops which has been removed in this CL.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78993

Files:
  mlir/lib/Transforms/BufferPlacement.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78993.260586.patch
Type: text/x-patch
Size: 4727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/5caabd0f/attachment.bin>


More information about the llvm-commits mailing list