This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix memref_cast + subview folder when reducing rank
ClosedPublic

Authored by ThomasRaoux on Feb 16 2021, 11:17 AM.

Details

Summary

When the destination of the subview has a lower rank than its source we need to fix the result type of the new subview op.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Feb 16 2021, 11:17 AM
ThomasRaoux requested review of this revision.Feb 16 2021, 11:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 16 2021, 11:17 AM
This revision is now accepted and ready to land.Feb 16 2021, 11:27 AM

Fix test failure.