[polly] r338512 - PPCG codegen

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 1 03:48:38 PDT 2018


Author: grosser
Date: Wed Aug  1 03:48:38 2018
New Revision: 338512

URL: http://llvm.org/viewvc/llvm-project?rev=338512&view=rev
Log:
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.

Modified:
    polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp

Modified: polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp?rev=338512&r1=338511&r2=338512&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp Wed Aug  1 03:48:38 2018
@@ -262,7 +262,8 @@ static MustKillsInfo computeMustKillsInf
 
     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;
   }




More information about the llvm-commits mailing list