This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Change vector.transfer_read/write "masked" attribute to "in_bounds".
ClosedPublic

Authored by springerm on Mar 30 2021, 10:47 PM.

Details

Summary

This is in preparation for adding a new "mask" operand. The existing "masked" attribute was used to specify dimensions that may be out-of-bounds. Such transfers can be lowered to masked load/stores. The new "in_bounds" attribute is used to specify dimensions that are guaranteed to be within bounds. (Semantics is inverted.)

Diff Detail

Event Timeline

springerm created this revision.Mar 30 2021, 10:47 PM
springerm requested review of this revision.Mar 30 2021, 10:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2021, 10:47 PM

Thanks for the cleanup!

This revision is now accepted and ready to land.Mar 30 2021, 10:47 PM

Fixed a typo in the documentation of vector.transfer_write.