[polly] r248915 - [FIX] Clear all maps between runs

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 09:51:05 PDT 2015


Author: jdoerfert
Date: Wed Sep 30 11:51:05 2015
New Revision: 248915

URL: http://llvm.org/viewvc/llvm-project?rev=248915&view=rev
Log:
[FIX] Clear all maps between runs

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=248915&r1=248914&r2=248915&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Wed Sep 30 11:51:05 2015
@@ -1136,10 +1136,12 @@ void ScopDetection::print(raw_ostream &O
 }
 
 void ScopDetection::releaseMemory() {
-  ValidRegions.clear();
   RejectLogs.clear();
-  NonAffineSubRegionMap.clear();
+  ValidRegions.clear();
   InsnToMemAcc.clear();
+  BoxedLoopsMap.clear();
+  NonAffineSubRegionMap.clear();
+  RequiredInvariantLoadsMap.clear();
 
   // Do not clear the invalid function set.
 }




More information about the llvm-commits mailing list