Page MenuHomePhabricator

[mlir] add memref dialect as dependent of lower-affine pass

Authored by ftynse on Apr 1 2021, 5:21 AM.



The lower-affine pass also processes affine load and store operations
that get converted to load and store operations now available in the
memref dialect. Since it produces operations from the memref dialect,
this dialect should be registered as dependent for this pass. It is rare
but possible to have code that doesn't have memref operations in the
input and calls this pass.

Diff Detail

Event Timeline

ftynse created this revision.Apr 1 2021, 5:21 AM
ftynse requested review of this revision.Apr 1 2021, 5:21 AM
mehdi_amini accepted this revision.Apr 1 2021, 12:51 PM
This revision is now accepted and ready to land.Apr 1 2021, 12:51 PM