summaryrefslogtreecommitdiff
path: root/polly/lib
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2018-08-01 10:48:38 +0000
committerTobias Grosser <tobias@grosser.es>2018-08-01 10:48:38 +0000
commitd91fac8a6f475172fb67d5e68ae05aa16c1ff23d (patch)
tree6817c10fb42d51f136ba5095972f35c8cc53d411 /polly/lib
parent6a1e963dc8909cca720f43e28d1ff0cac50ccadc (diff)
PPCG codegen
The latest version of the isl C++ bindings does not export the 'set' method yet. Fall back to the C interface until this method can be exported.
Diffstat (limited to 'polly/lib')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index 06c27f73626..47beb1ca924 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -262,7 +262,8 @@ static MustKillsInfo computeMustKillsInfo(const Scop &S) {
isl::schedule KillSchedule = isl::schedule::from_domain(KillStmtDomain);
if (Info.KillsSchedule)
- Info.KillsSchedule = Info.KillsSchedule.set(KillSchedule);
+ Info.KillsSchedule = isl::manage(
+ isl_schedule_set(Info.KillsSchedule.release(), KillSchedule.copy()));
else
Info.KillsSchedule = KillSchedule;
}