Page MenuHomePhabricator

[mlir][spirv] Legalize subviewop when used with vector transfer

Authored by ThomasRaoux on Jun 18 2020, 9:37 AM.



Subview operations are not natively supported downstream in the spirv path. This change allows removing subview when used by vector transfer the same way we already do it when they are used by LoadOp/StoreOp

Diff Detail

Event Timeline

ThomasRaoux created this revision.Jun 18 2020, 9:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2020, 9:37 AM
rriddle added inline comments.Jun 18 2020, 10:12 AM

Same here.


Use ArrayRef<Value> instead.

This revision is now accepted and ready to land.Jun 18 2020, 10:16 AM
ThomasRaoux marked 2 inline comments as done.
This revision was automatically updated to reflect the committed changes.