[polly] r237796 - Drop redundant condition

Tobias Grosser tobias at grosser.es
Wed May 20 08:04:27 PDT 2015


Author: grosser
Date: Wed May 20 10:04:27 2015
New Revision: 237796

URL: http://llvm.org/viewvc/llvm-project?rev=237796&view=rev
Log:
Drop redundant condition

This condition was accidentally introduced in r211875.

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=237796&r1=237795&r2=237796&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Wed May 20 10:04:27 2015
@@ -740,9 +740,6 @@ Region *ScopDetection::expandRegion(Regi
       if (!allBlocksValid(Context) || Context.Log.hasErrors())
         break;
 
-      if (Context.Log.hasErrors())
-        break;
-
       // Delete unnecessary regions (allocated by getExpandedRegion)
       if (LastValidRegion)
         delete LastValidRegion;





More information about the llvm-commits mailing list