[polly] r310204 - [Scopinfo] Fix memory corruption issue that sneaked into the previous commit
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 6 08:47:04 PDT 2017
Author: grosser
Date: Sun Aug 6 08:47:04 2017
New Revision: 310204
URL: http://llvm.org/viewvc/llvm-project?rev=310204&view=rev
Log:
[Scopinfo] Fix memory corruption issue that sneaked into the previous commit
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=310204&r1=310203&r2=310204&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Sun Aug 6 08:47:04 2017
@@ -1318,7 +1318,7 @@ void ScopStmt::realignParams() {
isl::set Ctx = isl::manage(Parent.getContext());
InvalidDomain = InvalidDomain.gist_params(Ctx);
- Domain = isl_set_gist_params(Domain, Ctx.get());
+ Domain = isl_set_gist_params(Domain, Ctx.copy());
}
/// Add @p BSet to the set @p User if @p BSet is bounded.
More information about the llvm-commits
mailing list