diff options
author | Roman Gareev <gareevroman@gmail.com> | 2016-07-30 09:25:51 +0000 |
---|---|---|
committer | Roman Gareev <gareevroman@gmail.com> | 2016-07-30 09:25:51 +0000 |
commit | d7754a1245ea5462d50649252b10c21ec13c2fc2 (patch) | |
tree | 6011c715888fc8765098ea578eff3aa3a75085fc /polly/lib/CodeGen/CodeGeneration.cpp | |
parent | 5d304b2456afba562855a692a5ea4d10cc5da9e7 (diff) | |
download | bcm5719-llvm-d7754a1245ea5462d50649252b10c21ec13c2fc2.tar.gz bcm5719-llvm-d7754a1245ea5462d50649252b10c21ec13c2fc2.zip |
Extend the jscop interface to allow the user to declare new arrays and to reference these arrays from access expressions
Extend the jscop interface to allow the user to export arrays. It is required
that already existing arrays of the list of arrays correspond to arrays
of the SCoP. Each array that is appended to the list will be newly created.
Furthermore, we allow the user to modify access expressions to reference
any array in case it has the same element type.
Reviewed-by: Tobias Grosser <tobias@grosser.es>
Differential Revision: https://reviews.llvm.org/D22828
llvm-svn: 277263
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/CodeGeneration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index 709f3601a3a..4550a0598aa 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -189,6 +189,7 @@ public: isl_ast_node_free(AstRoot); } else { + NodeBuilder.allocateNewArrays(); NodeBuilder.addParameters(S.getContext()); |