Previously, we used to compute this with elementSizeInBits / 8. This
would yield an element size of 0 when the array had element size < 8 in
bits.
To fix this, ask data layout what the size in bytes should be.
Differential D36459
[Polly] [PPCGCodeGeneration] Compute element size in bytes for arrays correctly. bollu on Aug 8 2017, 4:53 AM. Authored by
Details
Previously, we used to compute this with elementSizeInBits / 8. This To fix this, ask data layout what the size in bytes should be.
Diff Detail
Event Timeline
|