summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-07-24 16:22:27 +0000
committerTobias Grosser <tobias@grosser.es>2017-07-24 16:22:27 +0000
commit206e9e3b3b9c6f6f960ea89c81fe9bf54e6c5b46 (patch)
tree7d2aefb6ed13410c2def44074534b14d990878d4 /polly/lib/Exchange
parentfc638c11bbb6e1202bfd7862413f6b8d2067100e (diff)
downloadbcm5719-llvm-206e9e3b3b9c6f6f960ea89c81fe9bf54e6c5b46.tar.gz
bcm5719-llvm-206e9e3b3b9c6f6f960ea89c81fe9bf54e6c5b46.zip
Move ScopArrayInfo::getFromAccessFunction and getFromId to isl++
llvm-svn: 308892
Diffstat (limited to 'polly/lib/Exchange')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index 5d85d27830c..52299978709 100644
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -480,7 +480,7 @@ bool JSONImporter::importAccesses(Scop &S, Json::Value &JScop,
NewOutId = isl_map_get_tuple_id(NewAccessMap, isl_dim_out);
auto *SAI = S.getArrayInfoByName(isl_id_get_name(NewOutId));
isl_id *OutId = isl_map_get_tuple_id(CurrentAccessMap, isl_dim_out);
- auto *OutSAI = ScopArrayInfo::getFromId(OutId);
+ auto *OutSAI = ScopArrayInfo::getFromId(isl::manage(OutId));
if (!SAI || SAI->getElementType() != OutSAI->getElementType()) {
errs() << "JScop file contains access function with undeclared "
"ScopArrayInfo\n";
OpenPOWER on IntegriCloud