PPCG codegen
authorTobias Grosser <tobias@grosser.es>
Wed, 1 Aug 2018 10:48:38 +0000 (10:48 +0000)
committerTobias Grosser <tobias@grosser.es>
Wed, 1 Aug 2018 10:48:38 +0000 (10:48 +0000)
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.

llvm-svn: 338512

polly/lib/CodeGen/PPCGCodeGeneration.cpp

index 06c27f7..47beb1c 100644 (file)
@@ -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;
   }