This is an archive of the discontinued LLVM Phabricator instance.

[mlir] vector.type_cast: disallow memrefs with layout in verifier
ClosedPublic

Authored by ftynse on Mar 18 2020, 3:00 AM.

Details

Summary

These are not supported by any of the code using type_cast. In the general
case, such casting would require memrefs to handle a non-contiguous vector
representation or misaligned vectors (e.g., if the offset of the source memref
is not divisible by vector size, since offset in the target memref is expressed
in the number of elements).

Diff Detail

Event Timeline

ftynse created this revision.Mar 18 2020, 3:00 AM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Mar 18 2020, 10:36 AM
This revision was automatically updated to reflect the committed changes.