HomePhabricator

[mlir][linalg][bufferize] Compose dialect-specific bufferization state

Authored by springerm on Thu, Nov 25, 6:35 PM.

Description

[mlir][linalg][bufferize] Compose dialect-specific bufferization state

Use composition instead of inheritance for storing dialect-specific bufferization state. This is in preparation of adding "tensor dialect"-specific bufferization state.

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