summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/CodeGeneration.cpp
diff options
context:
space:
mode:
authorRoman Gareev <gareevroman@gmail.com>2016-07-30 09:25:51 +0000
committerRoman Gareev <gareevroman@gmail.com>2016-07-30 09:25:51 +0000
commitd7754a1245ea5462d50649252b10c21ec13c2fc2 (patch)
tree6011c715888fc8765098ea578eff3aa3a75085fc /polly/lib/CodeGen/CodeGeneration.cpp
parent5d304b2456afba562855a692a5ea4d10cc5da9e7 (diff)
downloadbcm5719-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.cpp1
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());
OpenPOWER on IntegriCloud