This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Relax transfer op hoisting on tensor
ClosedPublic

Authored by ThomasRaoux on Sep 25 2022, 10:25 PM.

Details

Summary

Improve hoisting logic to support cases where the read being hoisted
comes from a transfer_write with disjoint indices.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Sep 25 2022, 10:25 PM
ThomasRaoux requested review of this revision.Sep 25 2022, 10:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 25 2022, 10:25 PM
antiagainst accepted this revision.Sep 26 2022, 7:47 AM

Awesome, thanks Thomas!!

mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
112

We could use users.pop_back_val() here.

This revision is now accepted and ready to land.Sep 26 2022, 7:47 AM
This revision was automatically updated to reflect the committed changes.