The stride should be calculated with the converted array element
type, not the original input type.
Depends On D100335
| Paths 
 |  Differential  D100337  
[mlir][spirv] Fix runtime array stride when emulating bitwidth ClosedPublic Authored by antiagainst on Apr 12 2021, 12:43 PM. 
Details Summary The stride should be calculated with the converted array element Depends On D100335 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Apr 12 2021, 1:44 PM Closed by commit rG23b8264b5255: [mlir][spirv] Fix runtime array stride when emulating bitwidth (authored by antiagainst).  ·  Explain WhyApr 12 2021, 2:13 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 336959 mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
 mlir/test/Conversion/StandardToSPIRV/std-types-to-spirv.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||