This is an archive of the discontinued LLVM Phabricator instance.

[Polly] [Strided arrays, multidimensional indexing, fortran support] Teach Polly multidimensional strided array indexing. [WIP]
Needs ReviewPublic

Authored by bollu on Sep 15 2017, 7:06 AM.

Details

Summary

Please do not try to review this patch, I'm putting it up so I can chip
away at this and remove all the hacks. Once that is done, I'll split it up
into managable patches.

This patch teaches:

  • Polly to interpret multidimensional index expressions.
  • ScopArrayInfo to use a ShapeInfo class to store info based on size / stride based representation.
  • PPCGCodeGen to codegen for these strided arrays.
  • IslNodeBuilder, IslExprBuilder, et. al about strided arrays.