This is an archive of the discontinued LLVM Phabricator instance.

[mlir][memref] Fix subview offset verification.
ClosedPublic

Authored by nicolasvasilache on Dec 8 2021, 11:44 PM.

Details

Summary

Offset-specific verification seems to have been lost in one of the recent refactorings.
Also add proper tests that would have caught this omission.

This addresses the immediate issues discussed in:
https://llvm.discourse.group/t/memref-subview-affine-map-and-symbols/4851

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Dec 8 2021, 11:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2021, 11:44 PM
gysit accepted this revision.Dec 8 2021, 11:58 PM
This revision is now accepted and ready to land.Dec 8 2021, 11:58 PM
This revision was landed with ongoing or failed builds.Dec 8 2021, 11:58 PM
This revision was automatically updated to reflect the committed changes.