This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Fix bug in vector transfer hoisting
ClosedPublic

Authored by springerm on Jul 12 2023, 1:58 AM.

Details

Summary

Do not hoist vector transfers that do not match exactly. In particular, do not hoist transfers with different vector types. This has lead to invalid IR (yielded vector type is different from iter_arg type) in downstream projects.

Diff Detail

Event Timeline

springerm created this revision.Jul 12 2023, 1:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 1:58 AM
springerm requested review of this revision.Jul 12 2023, 1:58 AM
nicolasvasilache accepted this revision.Jul 12 2023, 6:07 AM

Thanks for fixing this!

This revision is now accepted and ready to land.Jul 12 2023, 6:07 AM
This revision was automatically updated to reflect the committed changes.