[PATCH] D78484: Providing buffer assignment for MLIR

Ehsan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 08:37:37 PDT 2020


dfki-ehna updated this revision to Diff 258747.
dfki-ehna added a comment.

Replacing fake test-purpose operations by Linalg.Generic operations. For testing computeAllocPosition of Buffer Assignment (BA), GenericOpConverter is introduced inside TestBufferAssignmentPreparationPass to convert tensor-type linalg.generic operations to memref ones. FunctionAndBlockSignatureConverter and NonVoidToVoidReturnOpConverter of BA are also tested.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78484/new/

https://reviews.llvm.org/D78484

Files:
  mlir/include/mlir/Transforms/BufferAssignment.h
  mlir/lib/Transforms/BufferAssignment.cpp
  mlir/lib/Transforms/CMakeLists.txt
  mlir/test/Transforms/buffer-assignment-prepration.mlir
  mlir/test/Transforms/buffer-assignment.mlir
  mlir/test/lib/Transforms/CMakeLists.txt
  mlir/test/lib/Transforms/TestBufferAssignment.cpp
  mlir/tools/mlir-opt/mlir-opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78484.258747.patch
Type: text/x-patch
Size: 52488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200420/dd85ffce/attachment.bin>


More information about the llvm-commits mailing list