From 983e785f175cb67452b241548db11294051b71ac Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sun, 28 Jul 2013 09:05:20 +0000 Subject: [PATCH] gitattributes: .png and .txt are no text files llvm-svn: 187326 --- polly/.gitattributes | 2 ++ polly/lib/Analysis/ScopDetection.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/polly/.gitattributes b/polly/.gitattributes index e7c1d93d39c5..7105fff2d2f2 100644 --- a/polly/.gitattributes +++ b/polly/.gitattributes @@ -1,2 +1,4 @@ # Auto detect text files and perform LF normalization * text eol=lf +*.png -text +*.pdf -text diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index d06b5fccb84f..ba8ff460ec1d 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -229,9 +229,9 @@ bool ScopDetection::isValidCFG(BasicBlock &BB, 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(Region &R) { } } - 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;