This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Fix bug in transfer op flattening
ClosedPublic

Authored by ThomasRaoux on Sep 8 2022, 6:02 PM.

Details

Summary

The logic to figure out if a transfer op can be flattened wasn't
considering the shape being loaded therefore it was incorrectly assuming
some transfer ops were reading contiguous data.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Sep 8 2022, 6:02 PM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Sep 8 2022, 6:02 PM
Benoit accepted this revision.Sep 9 2022, 7:14 AM

Sorry about that! I realize my mistake now seeing the new lit testcase.

This revision is now accepted and ready to land.Sep 9 2022, 7:14 AM
dcaballe accepted this revision.Sep 9 2022, 8:49 AM
This revision was automatically updated to reflect the committed changes.