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
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D82106
[mlir][spirv] Legalize subviewop when used with vector transfer ClosedPublic Authored by ThomasRaoux on Jun 18 2020, 9:37 AM.
Details Summary 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 TimelineThis revision is now accepted and ready to land.Jun 18 2020, 10:16 AM ThomasRaoux marked 2 inline comments as done. Closed by commit rG670455c77d4b: [mlir][spirv] Legalize subviewop when used with vector transfer (authored by ThomasRaoux). · Explain WhyJun 19 2020, 5:56 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 271818 mlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
mlir/test/Conversion/StandardToSPIRV/legalization.mlir
|
Same here.