summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
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
commit5f865032dbf7e34596f0559fb44399052cc1ad1b (patch)
tree18363339eb2d3a64a80e621c11d4405fd4d88860 /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parentf73205b08b2d3d877f6e2a267fccadd4defca09a (diff)
downloadbcm5719-llvm-5f865032dbf7e34596f0559fb44399052cc1ad1b.tar.gz
bcm5719-llvm-5f865032dbf7e34596f0559fb44399052cc1ad1b.zip
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. llvm-svn: 338512
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-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;
}
OpenPOWER on IntegriCloud