This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Properly order extract_slice traversal in comprehensive bufferization
ClosedPublic

Authored by nicolasvasilache on Sep 9 2021, 9:19 AM.

Details

Summary

This revision fixes the traversal order of extract_slice during the inplace analysis.
It was previously thought that such ops could be analyzed at the very end.
This is unfortunately not true as the AliasInfo for dependents of these ops need to be updated.

This change allows the aliases introduced by the bufferization of extract_slice to be properly propagated.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Sep 9 2021, 9:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2021, 9:19 AM
springerm accepted this revision.Sep 9 2021, 5:33 PM
This revision is now accepted and ready to land.Sep 9 2021, 5:33 PM