This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Disallow broadcast dimensions on TransferWriteOp.
ClosedPublic

Authored by springerm on Apr 20 2021, 4:37 AM.

Details

Summary

The current implementation allows for TransferWriteOps with broadcasts that do not make sense. E.g., a broadcast could write a vector into a single (scalar) memory location, which is effectively the same as writing only the last element of the vector.

Diff Detail

Event Timeline

springerm created this revision.Apr 20 2021, 4:37 AM
springerm requested review of this revision.Apr 20 2021, 4:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2021, 4:37 AM
This revision is now accepted and ready to land.Apr 20 2021, 5:51 AM