diff options
author | Tobias Grosser <tobias@grosser.es> | 2018-04-29 00:57:38 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2018-04-29 00:57:38 +0000 |
commit | 8dae41a1cb4fb25e91bf7067cdf9275b495d39f7 (patch) | |
tree | 0851d8a89a0ac61755f7f30e9f4648533bc5b3d4 /polly/lib/CodeGen | |
parent | a3f52aaa1902005a6d9ed05426dc907517609968 (diff) | |
download | bcm5719-llvm-8dae41a1cb4fb25e91bf7067cdf9275b495d39f7.tar.gz bcm5719-llvm-8dae41a1cb4fb25e91bf7067cdf9275b495d39f7.zip |
Remove another set or release() calls
llvm-svn: 331129
Diffstat (limited to 'polly/lib/CodeGen')
-rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index 5bf31e60e92..b5ef638c2e1 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -2730,8 +2730,8 @@ public: PPCGScop->tagged_must_writes = getTaggedMustWrites(); PPCGScop->must_writes = S->getMustWrites().release(); PPCGScop->live_out = nullptr; - PPCGScop->tagged_must_kills = KillsInfo.TaggedMustKills.take(); - PPCGScop->must_kills = KillsInfo.MustKills.take(); + PPCGScop->tagged_must_kills = KillsInfo.TaggedMustKills.release(); + PPCGScop->must_kills = KillsInfo.MustKills.release(); PPCGScop->tagger = nullptr; PPCGScop->independence = @@ -2747,7 +2747,7 @@ public: // If we have something non-trivial to kill, add it to the schedule if (KillsInfo.KillsSchedule.get()) PPCGScop->schedule = isl_schedule_sequence( - PPCGScop->schedule, KillsInfo.KillsSchedule.take()); + PPCGScop->schedule, KillsInfo.KillsSchedule.release()); PPCGScop->names = getNames(); PPCGScop->pet = nullptr; |