This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Vector] Degrade masking information when forwarding linalg.copy to vector.transfer
ClosedPublic

Authored by nicolasvasilache on Jul 14 2020, 8:46 AM.

Details

Summary

linalg.copy + linalg.fill can be used to create a padded local buffer.
The masked attribute is only valid on this padded buffer.
When forwarding to vector.transfer ops, the attribute must be reset
conservatively.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
bkramer accepted this revision.Jul 14 2020, 8:47 AM

lgtm

This revision is now accepted and ready to land.Jul 14 2020, 8:47 AM
This revision was automatically updated to reflect the committed changes.