We compute and store the dimensions of a delinearized array in multiple places. To reduce that number the MemoryAccess will now use the Sizes in the ScopArrayInfo object.
Details
- Reviewers
Meinersbur
Diff Detail
Event Timeline
This patch seems to do a bit more than just make MemoryAccess use the dimension sizes from ScopArrayInfo (e.g. making the global InsnToMemAcc a member field). Those should be described in the commit message and/or put into different patches.
Accessing private members of DetectionContext from ScopInfo seems like a layer violation. DetectionContext is something ScopDetection uses internally and i.e. maybe shouldn't be exposed to other classes.
Otherwise some really good changes++
include/polly/ScopInfo.h | ||
---|---|---|
1124 | Parameter description | |
lib/Analysis/ScopInfo.cpp | ||
1514 | auto not necessary | |
3174 | I am really glad that this global variable goes away | |
3283 | ++ | |
test/ScopInfo/delinearize-together-all-data-refs.ll | ||
14 | Can you explain why this changes? The commit message makes the impression that it is an internal reorganization only. |
Hi Johannes,
this is a small and very targeted patch that seems to never have been moved out of WIP stage. I recently improved the printing of memory references so parts of this patch may already be integrated, but some parts are probably still very useful. Hence, I wonder if you planned to move this patch out of the WIP stage and propose it for review?
Hi Johannes,
as I did not receive a reply on this patch, it seems to not be of interest at the moment. To clean up my patch review log I remove myself as a reviewer. Feel free to add me again when you have time to get back to this.
Best,
Tobias
Parameter description