[PATCH] D24833: [LoopDataPrefetch/AArch64] Allow selective prefetching of symbolic strided accesses

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 09:57:40 PDT 2016


anemet added a comment.

> Irregular streams typically consist of array accesses in which a subscripted variable

>  appears in one of the subscript positions, such as: A[B[i]].

> 

> For example:

> 

>   for (unsigned i = 0; i < 100; i++)

>     A[i + 1] = A[Stride * i] + B[i];


There is something confusing here.  Is Stride loop-variant here?  Otherwise I don't see how this is a A[B[i]]-style access.


https://reviews.llvm.org/D24833





More information about the llvm-commits mailing list