This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Fix a missing copy when source of insert_slice is not inplace.
ClosedPublic

Authored by nicolasvasilache on Jul 22 2021, 1:02 PM.

Details

Summary

When the source tensor of a tensor.insert_slice is not equivalent to an inplace buffer an extra copy is necessary. This revision adds the missing copy.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Jul 22 2021, 1:02 PM
gysit accepted this revision.Jul 23 2021, 12:11 AM

Thanks!

This revision is now accepted and ready to land.Jul 23 2021, 12:11 AM