- Create a representation in Polly to disambiguate size based and stride based representations of arrays.
- Need to move ScopDetection code to detect these strided arrays.
- Need to move backend code (PPCGCodeGeneration) to this new representation.
- I have never taught Codegen about strided arrays, so that is something we would need to do as well.
I am backporting code from my branch: https://github.com/bollu/polly/tree/feature.
The branch that I am working on is: https://github.com/bollu/polly/tree/jul-3-port-shapeinfo-to-master
@cs15btech11044, help appreciated in moving code. You can send my repo a pull request into the branch (jul-3-port-shapeinfo-to-master) that moves more code.
[suggestion] Could you change the variable name Map to something more specific? This improves the readability of this code snippet.