This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][bufferize] Support custom insertion point for buffer copies
ClosedPublic

Authored by springerm on Jan 14 2022, 1:30 AM.

Details

Summary

By default, copies are inserted right before the tensor OpOperand use. With this change, bufferize implementation can change the insertion point. This is needed for some ops where it would be illegal to insert a copy right before the use.

Depends On D117224

Diff Detail

Event Timeline

springerm created this revision.Jan 14 2022, 1:30 AM
springerm requested review of this revision.Jan 14 2022, 1:30 AM
nicolasvasilache accepted this revision.Jan 14 2022, 2:04 AM
This revision is now accepted and ready to land.Jan 14 2022, 2:04 AM