OSDN Git Service

[mlir] Support unranked types in func signature conversion in BufferPlacement.
authorAlexander Belyaev <pifon@google.com>
Tue, 7 Jul 2020 17:36:48 +0000 (19:36 +0200)
committerAlexander Belyaev <pifon@google.com>
Tue, 7 Jul 2020 17:43:48 +0000 (19:43 +0200)
commit1a2ed71a8a81a61e98a9f50fe5fa64b36e722632
tree1b801efab2d2dfe2a4b88584d6dde3404b0f6f59
parent1143f09678f42352620d373939b0655e7a332268
[mlir] Support unranked types in func signature conversion in BufferPlacement.

Currently, only ranked tensor args and results can be converted to memref types.

Differential Revision: https://reviews.llvm.org/D83324
mlir/lib/Transforms/BufferPlacement.cpp
mlir/test/Transforms/buffer-placement-preparation-allowed-memref-results.mlir
mlir/test/Transforms/buffer-placement-preparation.mlir