summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-08-06 17:45:28 +0000
committerTobias Grosser <tobias@grosser.es>2017-08-06 17:45:28 +0000
commit6ad1640a1dd0e19c795fb06592fe4cc7063e79eb (patch)
tree82c1c5aa8aabd63c8e8ea08d36e854a7b65ba697 /polly/lib/Exchange
parent2f3041fc6abcc4a00d473aac9ac7a85d27fdd085 (diff)
downloadbcm5719-llvm-6ad1640a1dd0e19c795fb06592fe4cc7063e79eb.tar.gz
bcm5719-llvm-6ad1640a1dd0e19c795fb06592fe4cc7063e79eb.zip
[ScopInfo] Move ScopStmt::getSchedule to isl++
llvm-svn: 310215
Diffstat (limited to 'polly/lib/Exchange')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index 10beddc5c3e..76b038db974 100644
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -396,7 +396,8 @@ bool JSONImporter::importSchedule(Scop &S, Json::Value &JScop,
if (NewSchedule.find(&Stmt) != NewSchedule.end())
ScheduleMap = isl_union_map_add_map(ScheduleMap, NewSchedule[&Stmt]);
else
- ScheduleMap = isl_union_map_add_map(ScheduleMap, Stmt.getSchedule());
+ ScheduleMap =
+ isl_union_map_add_map(ScheduleMap, Stmt.getSchedule().release());
}
S.setSchedule(ScheduleMap);
OpenPOWER on IntegriCloud