This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize][linalg] Fix aliasing reads detection in analysis
AbandonedPublic

Authored by springerm on Jan 8 2022, 6:11 AM.

Details

Reviewers
nicolasvasilache
Summary

Take into account values that are read via an alias such as ExtractSliceOp.

Note: It is currently not possible to trigger this bug because ops are always analyzed bottom-to-top. However, as the traveral is just a heuristic, and other traversal orders could be specified in the future, this should be fixed now to avoid surprising behavior in the future.

Depends On D116687

Diff Detail

Event Timeline

springerm created this revision.Jan 8 2022, 6:11 AM
springerm requested review of this revision.Jan 8 2022, 6:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2022, 6:11 AM
nicolasvasilache accepted this revision.Jan 11 2022, 1:28 AM
This revision is now accepted and ready to land.Jan 11 2022, 1:28 AM
springerm abandoned this revision.Oct 20 2022, 7:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 7:25 AM
Herald added a subscriber: bzcheeseman. · View Herald Transcript