HomePhabricator

[mlir] Added support for loops to BufferPlacement transformation.

Authored by dfki-mako on Aug 7 2020, 3:22 AM.

Description

[mlir] Added support for loops to BufferPlacement transformation.

The current BufferPlacement transformation cannot handle loops properly. Buffers
passed via backedges will not be freed automatically introducing memory leaks.
This CL adds support for loops to overcome these limitations.

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

Details