Page MenuHomePhabricator

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

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

Details

Summary

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.Thu, Apr 1, 5:21 AM
ftynse requested review of this revision.Thu, Apr 1, 5:21 AM
mehdi_amini accepted this revision.Thu, Apr 1, 12:51 PM
This revision is now accepted and ready to land.Thu, Apr 1, 12:51 PM