[PATCH] D34982: [Polly][WIP] Fully-Indexed static expansion

Bonfante Nicolas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 12:28:17 PDT 2017


niosega updated this revision to Diff 106279.
niosega added a comment.
Herald added a subscriber: mgorny.
Herald added a reviewer: bollu.

- Build the new access map from the current access map
- Create a new SAI for the expanded version of the access array or scalar
- Modify the memory access to the new SAI

Seems to be working for both scalars and non-scalars access.

For now, the test is only based on dump comparison because the code is broken : the reads are still to the old SAI.


https://reviews.llvm.org/D34982

Files:
  include/polly/LinkAllPasses.h
  lib/CMakeLists.txt
  lib/Support/RegisterPasses.cpp
  lib/Transform/MaximalStaticExpansion.cpp
  test/MaximalStaticExpansion/mse___%for.cond1.preheader---%for.end8.jscop
  test/MaximalStaticExpansion/write_accesses_expanded.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34982.106279.patch
Type: text/x-patch
Size: 15272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/7907cdda/attachment.bin>


More information about the llvm-commits mailing list