[polly] r187326 - gitattributes: .png and .txt are no text files

Tobias Grosser tobias at grosser.es
Sun Jul 28 02:05:21 PDT 2013


Author: grosser
Date: Sun Jul 28 04:05:20 2013
New Revision: 187326

URL: http://llvm.org/viewvc/llvm-project?rev=187326&view=rev
Log:
gitattributes: .png and .txt are no text files

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

Modified: polly/trunk/.gitattributes
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/.gitattributes?rev=187326&r1=187325&r2=187326&view=diff
==============================================================================
--- polly/trunk/.gitattributes (original)
+++ polly/trunk/.gitattributes Sun Jul 28 04:05:20 2013
@@ -1,2 +1,4 @@
 # Auto detect text files and perform LF normalization
 * text eol=lf
+*.png -text
+*.pdf -text

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=187326&r1=187325&r2=187326&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Sun Jul 28 04:05:20 2013
@@ -229,9 +229,9 @@ bool ScopDetection::isValidCFG(BasicBloc
 
     if (!isAffineExpr(&Context.CurRegion, LHS, *SE) ||
         !isAffineExpr(&Context.CurRegion, RHS, *SE)) {
-      INVALID(AffFunc,
-              "Non affine branch in BB '" << BB.getName() << "' with LHS: "
-                                          << *LHS << " and RHS: " << *RHS);
+      INVALID(AffFunc, "Non affine branch in BB '" << BB.getName()
+                                                   << "' with LHS: " << *LHS
+                                                   << " and RHS: " << *RHS);
       return false;
     }
   }
@@ -468,8 +468,8 @@ Region *ScopDetection::expandRegion(Regi
     }
   }
 
-  DEBUG(if (LastValidRegion)
-            dbgs() << "\tto " << LastValidRegion->getNameStr() << "\n";
+  DEBUG(if (LastValidRegion) dbgs() << "\tto " << LastValidRegion->getNameStr()
+                                    << "\n";
         else dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";);
 
   return LastValidRegion;





More information about the llvm-commits mailing list