diff options
author | Tobias Grosser <tobias@grosser.es> | 2017-08-06 21:42:38 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2017-08-06 21:42:38 +0000 |
commit | 61bd3a4840f78ab8b3ecfa633d14e92f95acd0e5 (patch) | |
tree | 06613ba2f67433becc1dff1a5ca0ca04aba48f1c /polly/lib/Transform | |
parent | 31df6f31c0813fa7a93b1c195e2182a2527965a4 (diff) | |
download | bcm5719-llvm-61bd3a4840f78ab8b3ecfa633d14e92f95acd0e5.tar.gz bcm5719-llvm-61bd3a4840f78ab8b3ecfa633d14e92f95acd0e5.zip |
[ScopInfo] Move Scop::getPwAffOnly to isl++ [NFC]
llvm-svn: 310231
Diffstat (limited to 'polly/lib/Transform')
-rw-r--r-- | polly/lib/Transform/DeadCodeElimination.cpp | 2 | ||||
-rw-r--r-- | polly/lib/Transform/FlattenSchedule.cpp | 4 | ||||
-rw-r--r-- | polly/lib/Transform/ScheduleOptimizer.cpp | 2 | ||||
-rw-r--r-- | polly/lib/Transform/ZoneAlgo.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/polly/lib/Transform/DeadCodeElimination.cpp b/polly/lib/Transform/DeadCodeElimination.cpp index a23a60699da..8ca7e0ace56 100644 --- a/polly/lib/Transform/DeadCodeElimination.cpp +++ b/polly/lib/Transform/DeadCodeElimination.cpp @@ -94,7 +94,7 @@ char DeadCodeElim::ID = 0; // this means may-writes are in the current situation always live, there is // no point in trying to remove them from the live-out set. isl::union_set DeadCodeElim::getLiveOut(Scop &S) { - isl::union_map Schedule = isl::manage(S.getSchedule()); + isl::union_map Schedule = S.getSchedule(); isl::union_map MustWrites = S.getMustWrites(); isl::union_map WriteIterations = MustWrites.reverse(); isl::union_map WriteTimes = WriteIterations.apply_range(Schedule); diff --git a/polly/lib/Transform/FlattenSchedule.cpp b/polly/lib/Transform/FlattenSchedule.cpp index bae02263438..daea1d5ddbc 100644 --- a/polly/lib/Transform/FlattenSchedule.cpp +++ b/polly/lib/Transform/FlattenSchedule.cpp @@ -60,7 +60,7 @@ public: IslCtx = S.getSharedIslCtx(); DEBUG(dbgs() << "Going to flatten old schedule:\n"); - OldSchedule = give(S.getSchedule()); + OldSchedule = S.getSchedule(); DEBUG(printSchedule(dbgs(), OldSchedule, 2)); auto Domains = S.getDomains(); @@ -87,7 +87,7 @@ public: OS << "}\n\n"; OS << "Schedule after flattening {\n"; - printSchedule(OS, give(S.getSchedule()), 4); + printSchedule(OS, S.getSchedule(), 4); OS << "}\n"; } diff --git a/polly/lib/Transform/ScheduleOptimizer.cpp b/polly/lib/Transform/ScheduleOptimizer.cpp index fd3e92d84cf..26b22344163 100644 --- a/polly/lib/Transform/ScheduleOptimizer.cpp +++ b/polly/lib/Transform/ScheduleOptimizer.cpp @@ -1294,7 +1294,7 @@ bool ScheduleTreeOptimizer::isProfitableSchedule(Scop &S, if (S.containsExtensionNode(NewSchedule.get())) return true; auto NewScheduleMap = NewSchedule.get_map(); - auto OldSchedule = isl::manage(S.getSchedule()); + auto OldSchedule = S.getSchedule(); assert(OldSchedule && "Only IslScheduleOptimizer can insert extension nodes " "that make Scop::getSchedule() return nullptr."); bool changed = !OldSchedule.is_equal(NewScheduleMap); diff --git a/polly/lib/Transform/ZoneAlgo.cpp b/polly/lib/Transform/ZoneAlgo.cpp index 2dbe504819b..63ac92f023b 100644 --- a/polly/lib/Transform/ZoneAlgo.cpp +++ b/polly/lib/Transform/ZoneAlgo.cpp @@ -251,7 +251,7 @@ static std::string printInstruction(Instruction *Instr, ZoneAlgorithm::ZoneAlgorithm(const char *PassName, Scop *S, LoopInfo *LI) : PassName(PassName), IslCtx(S->getSharedIslCtx()), S(S), LI(LI), - Schedule(give(S->getSchedule())) { + Schedule(S->getSchedule()) { auto Domains = S->getDomains(); Schedule = |