[llvm-commits] [polly] r144283 - /polly/trunk/lib/Analysis/ScopDetection.cpp

Tobias Grosser grosser at fim.uni-passau.de
Thu Nov 10 04:45:15 PST 2011


Author: grosser
Date: Thu Nov 10 06:45:15 2011
New Revision: 144283

URL: http://llvm.org/viewvc/llvm-project?rev=144283&view=rev
Log:
ScopDetect: Clean the last failure message properly

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=144283&r1=144282&r2=144283&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Thu Nov 10 06:45:15 2011
@@ -397,6 +397,8 @@
 void ScopDetection::findScops(Region &R) {
   DetectionContext Context(R, *AA, false /*verifying*/);
 
+  LastFailure = "";
+
   if (isValidRegion(Context)) {
     ++ValidRegion;
     ValidRegions.insert(&R);





More information about the llvm-commits mailing list