This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector][bufferize] Better analysis for vector.transfer_write
ClosedPublic

Authored by springerm on Jun 13 2023, 9:09 AM.

Details

Summary

The destination operand does not bufferize to a memory read if it is completely overwritten.

Diff Detail

Event Timeline

springerm created this revision.Jun 13 2023, 9:09 AM
Herald added a project: Restricted Project. · View Herald Transcript
springerm requested review of this revision.Jun 13 2023, 9:09 AM
nicolasvasilache accepted this revision.Jun 13 2023, 9:46 AM
nicolasvasilache added inline comments.
mlir/lib/Dialect/Vector/Transforms/BufferizableOpInterfaceImpl.cpp
91

you probably also want to bail out if there is a mask for now

This revision is now accepted and ready to land.Jun 13 2023, 9:46 AM
springerm marked an inline comment as done.Jun 14 2023, 12:33 AM