[PATCH] D49024: [Polly] [WIP] Introduce ShapeInfo into polly for sizes and strides.
SAHIL GIRISH YERAWAR via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 07:20:59 PDT 2018
cs15btech11044 added a comment.
I am following this suggestion. However, I would like to clarify something.
Suppose we are considering a 3-dimensional array named arr (Consider C language for now).
Does the offset/padding solution suggested in the previous comment model the situation where each dimension of the array has its range from 0 to some dimension size value and while accessing the array, we use some arithmetic along with the respective dimension index ( arr[i+1][2*j-1][3*k] for instance)?
Also could you please elaborate on how would the byte-based indexing be more beneficial than the index-based approach?
https://reviews.llvm.org/D49024
More information about the llvm-commits
mailing list